aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utilities_tests.py
diff options
context:
space:
mode:
authorAdam Stokes <battlemidget@users.noreply.github.com>2013-08-09 22:17:47 -0400
committerAdam Stokes <battlemidget@users.noreply.github.com>2013-08-09 22:17:47 -0400
commit245b4690aaae4aba11da28b79a5429249b82add3 (patch)
tree6590e67e5ffb66eb8111d97c2d448e7cb03758b7 /tests/utilities_tests.py
parent4a594b6dce129f8d9837c0d93768576badf2b2b7 (diff)
downloadsos-245b4690aaae4aba11da28b79a5429249b82add3.tar.gz
Update utilities_tests.py
Update unittests to reflect 4a594b6dce129f8d9837c0d93768576badf2b2b7
Diffstat (limited to 'tests/utilities_tests.py')
-rw-r--r--tests/utilities_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py
index fc9e858f..9cce51a4 100644
--- a/tests/utilities_tests.py
+++ b/tests/utilities_tests.py
@@ -78,7 +78,7 @@ class ExecutableTest(unittest.TestCase):
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\n")
+ self.assertEquals(out, "executed")
def test_output_non_exe(self):
path = os.path.join(TEST_DIR, 'utility_tests.py')
@@ -88,7 +88,7 @@ class ExecutableTest(unittest.TestCase):
def test_shell_out(self):
path = os.path.join(TEST_DIR, 'test_exe.py')
- self.assertEquals("executed\n", shell_out(path))
+ self.assertEquals("executed", shell_out(path))
class FindTest(unittest.TestCase):