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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user