Permalink
Browse files

Fix unittests to report on strings and not binary

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
  • Loading branch information...
1 parent ec1abc0 commit 6008191be46e46b4484cf380fdd9459d8318b210 @battlemidget battlemidget committed Jan 27, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/utilities_tests.py
View
@@ -81,7 +81,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, six.b("executed\n"))
+ self.assertEquals(out, "executed\n")
def test_output_non_exe(self):
path = os.path.join(TEST_DIR, 'utility_tests.py')
@@ -91,7 +91,7 @@ def test_output_non_exe(self):
def test_shell_out(self):
path = os.path.join(TEST_DIR, 'test_exe.py')
- self.assertEquals(six.b("executed\n"), shell_out(path))
+ self.assertEquals("executed\n", shell_out(path))
class FindTest(unittest.TestCase):

0 comments on commit 6008191

Please sign in to comment.