Skip to content

Commit

Permalink
Fix shell output unittests
Browse files Browse the repository at this point in the history
Since fix for 0ed431a went in we revert our unittests to the old (working) behavior.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
  • Loading branch information
Adam Stokes committed Oct 18, 2013
1 parent 9f15c36 commit ab9929b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utilities_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_output(self):
path = os.path.join(TEST_DIR, 'test_exe.py')
ret, out, junk = sos_get_command_output(path)
self.assertEquals(ret, 0)
self.assertEquals(out, "executed")
self.assertEquals(out, "executed\n")

def test_output_non_exe(self):
path = os.path.join(TEST_DIR, 'utility_tests.py')
Expand All @@ -88,7 +88,7 @@ def test_output_non_exe(self):

def test_shell_out(self):
path = os.path.join(TEST_DIR, 'test_exe.py')
self.assertEquals("executed", shell_out(path))
self.assertEquals("executed\n", shell_out(path))


class FindTest(unittest.TestCase):
Expand Down

0 comments on commit ab9929b

Please sign in to comment.