1
0
mirror of https://github.com/gryf/coach.git synced 2026-02-20 00:35:56 +01:00

tests: fixed nightly (#301)

* tests: fixed nightly

* tests: temp testing functional tests

* tests: temp testing functional tests

* tests: add seed to -cp

* test: last fix
This commit is contained in:
anabwan
2019-05-05 08:28:57 +03:00
committed by GitHub
parent 582921ffe3
commit 740359587d
4 changed files with 15 additions and 5 deletions

View File

@@ -40,6 +40,12 @@ def test_preset_args(preset_args, flag, clres, start_time=time.time(),
# add flags to run command
test_flag = a_utils.add_one_flag_value(flag=flag)
if flag[0] == "-cp":
seed = ['--seed', '42']
seed_flag = a_utils.add_one_flag_value(flag=seed)
run_cmd.extend(seed_flag)
run_cmd.extend(test_flag)
print(str(run_cmd))