🔊 add stdout logs

This commit is contained in:
Faylixe
2020-12-08 14:01:50 +01:00
parent e4a69674cc
commit c1e52f2960

View File

@@ -101,6 +101,7 @@ def test_train():
'-p', 'useless_config.json',
'-d', path
])
raise IOError(result.stdout)
assert result.exit_code == 0
# assert that model checkpoint was created.
assert os.path.exists(join(path, 'model', 'model.ckpt-10.index'))