summaryrefslogtreecommitdiff
path: root/test/apitest
diff options
context:
space:
mode:
authorMichaƂ Klichowicz <emkael@tlen.pl>2020-01-13 12:40:59 +0100
committerGitHub <noreply@github.com>2020-01-13 12:40:59 +0100
commit28da3627c730fdf394da4db9282b5608fec777d4 (patch)
tree0915b5355349dc44f3e9731507fac2185ef1d3ba /test/apitest
parentac4a913322dcfe58dc965dadd1c1a7b84d01508b (diff)
Explicit API version in API test
Diffstat (limited to 'test/apitest')
-rw-r--r--test/apitest/api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/apitest/api.py b/test/apitest/api.py
index fe7f010..5fa2e4b 100644
--- a/test/apitest/api.py
+++ b/test/apitest/api.py
@@ -23,6 +23,7 @@ class ApiCalculator(ApiTest):
cont_count, cont_rank,
override=None):
params = {}
+ params['version'] = '1'
params['type'] = self.tourtypes[tour_type]
params['over39_boards'] = tour_boards
params['tournament_rank'] = self.ranks[tour_rank]