We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6339dbd commit 54d2301Copy full SHA for 54d2301
st2client/tests/unit/test_shell.py
@@ -681,6 +681,7 @@ def test_get_cached_auth_token_invalid_permissions(self):
681
expected_msg = "Permissions .*? for cached token file .*? are too permissive.*"
682
self.assertRegex(log_message, expected_msg)
683
684
+ @unittest.skipIf(os.getuid() == 0, reason="Test must be run as non-root user.")
685
def test_cache_auth_token_invalid_permissions(self):
686
shell = Shell()
687
username = "testu"
0 commit comments