summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad
diff options
context:
space:
mode:
authorGislene Pereira <gislene01@gmail.com>2015-09-28 16:04:46 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-09-28 16:52:53 -0300
commit6427b73247e327c27d5f8e5c2036281fb77205b2 (patch)
tree8b9c423cf2039b7c9a625975ffd076394c68d972 /common/src/leap/soledad
parent01314341c8ef1e947b8f921ba023ac67d89a9ce7 (diff)
[test] Making test_command pass on Mac OS X.
Diffstat (limited to 'common/src/leap/soledad')
-rw-r--r--common/src/leap/soledad/common/tests/test_command.py6
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)