Changed the pretty names of the result statuses and corrected variable names to match.
This commit is contained in:
parent
4be818cf25
commit
9da1bb3dbb
5 changed files with 67 additions and 67 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue