1
0
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:
anabwan
2019-04-23 15:12:11 +03:00
committed by GitHub
parent 9f625c197b
commit b3db9ce77d
4 changed files with 45 additions and 19 deletions

View File

@@ -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)):