Coding style.

- Removed unnecessary mocking.
This commit is contained in:
Andrew Hamilton 2017-07-10 11:13:52 +01:00
parent 1b4d90a7f0
commit 78d7c528b4
4 changed files with 3 additions and 4 deletions

View file

@ -1 +1 @@
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py -rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -1 +1 @@
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py -rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -1 +1 @@
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py -rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py

View file

@ -66,7 +66,6 @@ class ToolsTestCase(unittest.TestCase):
with chdir(os.path.join(VIGIL_ROOT, "golden-files")): with chdir(os.path.join(VIGIL_ROOT, "golden-files")):
cwd = os.getcwd() cwd = os.getcwd()
text = text.replace(cwd, "/CWD") text = text.replace(cwd, "/CWD")
text = text.replace(os.environ["USER"], "EVERY_USER")
golden.assertGolden(text, golden_path) golden.assertGolden(text, golden_path)
self.assertEqual(status, expected_status) self.assertEqual(status, expected_status)