Changed the pretty names of the result statuses and corrected variable names to match.

This commit is contained in:
Andrew Hamilton 2016-01-22 19:14:58 +00:00
parent 4be818cf25
commit 9da1bb3dbb
5 changed files with 67 additions and 67 deletions

View file

@ -30,7 +30,7 @@ class WorkerTestCase(unittest.TestCase):
def _test_worker(self, sandbox):
status = worker.Worker(sandbox).run_tool("foo", tools.metadata)
self.assertEqual(status, tools.Status.info)
self.assertEqual(status, tools.Status.normal)
result_path = os.path.join(vigil._CACHE_PATH, "foo-metadata")
self.assertTrue(os.path.exists(result_path))