diff options
Diffstat (limited to 'test/units/cli/test_vault.py')
-rw-r--r-- | test/units/cli/test_vault.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/units/cli/test_vault.py b/test/units/cli/test_vault.py index 9aba0ecd99..7b7e857844 100644 --- a/test/units/cli/test_vault.py +++ b/test/units/cli/test_vault.py @@ -41,9 +41,8 @@ class TestVaultCli(unittest.TestCase): def test_parse_empty(self): cli = VaultCLI([]) - self.assertRaisesRegexp(errors.AnsibleOptionsError, - '.*Missing required action.*', - cli.parse) + self.assertRaises(SystemExit, + cli.parse) # FIXME: something weird seems to be afoot when parsing actions # cli = VaultCLI(args=['view', '/dev/null/foo', 'mysecret3']) |