mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 03:30:19 +01:00
tests: fixed failed tests - stabling CI (#298)
* tests: stabling CI * tests: fix failed tests - stabling CI * fix get csv files. - fixed seed test * fix clres on conftest - now can modify paths during test run. - this fixed the mxnet checkpoint test * tests: fix comments
This commit is contained in:
@@ -453,10 +453,10 @@ def validate_arg_result(flag, p_valid_params, clres=None, process=None,
|
||||
num_expected_files=int(flag[1]))
|
||||
|
||||
assert len(csv_path) > 0, \
|
||||
Def.Consts.ASSERT_MSG.format("paths are not found", csv_path)
|
||||
Def.Consts.ASSERT_MSG.format("paths are not found", str(csv_path))
|
||||
|
||||
assert int(flag[1]) == len(csv_path), Def.Consts.ASSERT_MSG. \
|
||||
format(len(csv_path), int(flag[1]))
|
||||
format(int(flag[1]), len(csv_path))
|
||||
|
||||
# wait for getting results in csv's
|
||||
for i in range(len(csv_path)):
|
||||
|
||||
Reference in New Issue
Block a user