Skip to content

Commit 3b76899

Browse files
committed
Fix exit code of edit-permissions test
1 parent 6f58b94 commit 3b76899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CLI/modules/user_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_edit_perms_on(self):
129129

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

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

0 commit comments

Comments
 (0)