Coding style.
- Removed unnecessary mocking.
This commit is contained in:
parent
1b4d90a7f0
commit
78d7c528b4
4 changed files with 3 additions and 4 deletions
|
|
@ -66,7 +66,6 @@ class ToolsTestCase(unittest.TestCase):
|
|||
with chdir(os.path.join(VIGIL_ROOT, "golden-files")):
|
||||
cwd = os.getcwd()
|
||||
text = text.replace(cwd, "/CWD")
|
||||
text = text.replace(os.environ["USER"], "EVERY_USER")
|
||||
golden.assertGolden(text, golden_path)
|
||||
self.assertEqual(status, expected_status)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue