diff options
author | Gislene Pereira <gislene01@gmail.com> | 2015-09-28 16:04:46 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-09-28 16:52:53 -0300 |
commit | 6427b73247e327c27d5f8e5c2036281fb77205b2 (patch) | |
tree | 8b9c423cf2039b7c9a625975ffd076394c68d972 | |
parent | 01314341c8ef1e947b8f921ba023ac67d89a9ce7 (diff) |
[test] Making test_command pass on Mac OS X.
-rw-r--r-- | common/src/leap/soledad/common/tests/test_command.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/src/leap/soledad/common/tests/test_command.py b/common/src/leap/soledad/common/tests/test_command.py index 420f91ae..c386bdd2 100644 --- a/common/src/leap/soledad/common/tests/test_command.py +++ b/common/src/leap/soledad/common/tests/test_command.py @@ -49,7 +49,5 @@ class ExecuteValidatedCommandTest(unittest.TestCase): def test_return_status_code_number_on_failure(self): status, out = exec_validated_cmd("ls", "user-bebacafe") - self.assertEquals(status, 2) - self.assertIn( - 'ls: cannot access user-bebacafe: No such file or directory\n', - out) + self.assertNotEquals(status, 0) + self.assertIn('No such file or directory\n', out) |