diff options
author | emkael <emkael@tlen.pl> | 2020-05-13 18:18:44 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-05-13 18:18:44 +0200 |
commit | 761510c4675dd5817c432d1f71c4698dd42ec77e (patch) | |
tree | 3f2e4cde64f4a6054d690667a1fcfd1c221475e4 /migration-test/apitest | |
parent | b39ecaf33e421e7dd61cfd701002d1f1cb0e9c3f (diff) |
Using migration tests to generate random unit test cases
Diffstat (limited to 'migration-test/apitest')
-rw-r--r-- | migration-test/apitest/api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/migration-test/apitest/api.py b/migration-test/apitest/api.py index 5fa2e4b..cd34844 100644 --- a/migration-test/apitest/api.py +++ b/migration-test/apitest/api.py @@ -5,6 +5,7 @@ from .apitest import ApiTest class ApiCalculator(ApiTest): ranks = { + 'kmp': 101, 'o++++': 7, 'o+++': 6, 'o++': 5, @@ -23,7 +24,7 @@ class ApiCalculator(ApiTest): cont_count, cont_rank, override=None): params = {} - params['version'] = '1' + #params['version'] = '1' params['type'] = self.tourtypes[tour_type] params['over39_boards'] = tour_boards params['tournament_rank'] = self.ranks[tour_rank] |