Skip to content

Commit

Permalink
Fix exit code of edit-permissions test
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Oct 10, 2018
1 parent 6f58b94 commit 3b76899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CLI/modules/user_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_edit_perms_on(self):

def test_edit_perms_on_bad(self):
result = self.run_command(['user', 'edit-permissions', '11100', '--enable', '-p', 'TEST_NOt_exist'])
self.assertEqual(result.exit_code, -1)
self.assertEqual(result.exit_code, 1)

def test_edit_perms_off(self):
result = self.run_command(['user', 'edit-permissions', '11100', '--disable', '-p', 'TEST'])
Expand Down

0 comments on commit 3b76899

Please sign in to comment.