Coding style.
- Removed unnecessary mocking.
This commit is contained in:
parent
1b4d90a7f0
commit
78d7c528b4
4 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue