Commit 517e0333 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

rename test method

parent 54c52f1a
......@@ -119,7 +119,7 @@ def _eval(tmpdir, model_dir, dummy_tfrecord):
eval_generic([config_path])
def test_eval_once():
def test_eval():
tmpdir = mkdtemp(prefix='bob_')
try:
model_dir = os.path.join(tmpdir, 'model_dir')
......@@ -137,7 +137,7 @@ def test_eval_once():
evaluated_path = os.path.join(eval_dir, 'evaluated')
assert os.path.exists(evaluated_path), evaluated_path
with open(evaluated_path) as f:
doc = f.read()
doc = f.read()
assert '1' in doc, doc
assert '200' in doc, doc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment