Fixed some tests that only worked for me.
This commit is contained in:
parent
864587da5c
commit
065d62d2fc
4 changed files with 6 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
|
||||
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
|
||||
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
-rw-rw-r-- ahamilton/ahamilton 27 2016-02-09 21:50 hi.py
|
||||
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py
|
||||
|
|
|
|||
|
|
@ -54,6 +54,9 @@ class ToolsTestCase(unittest.TestCase):
|
|||
golden_path = result_path(tool, input_filename)
|
||||
text = widget_to_string(result)
|
||||
text = text.replace(os.environ["HOME"], "/home/EVERY_USER")
|
||||
text = text.replace(
|
||||
"%s/%s" % (os.environ["USER"], os.environ["USER"]),
|
||||
"EVERY_USER/EVERY_USER")
|
||||
golden.assertGolden(text, golden_path)
|
||||
self.assertEqual(status, expected_status)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue