diff options
Diffstat (limited to 'barbicanclient/tests/test_barbican.py')
-rw-r--r-- | barbicanclient/tests/test_barbican.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/barbicanclient/tests/test_barbican.py b/barbicanclient/tests/test_barbican.py index b6aa403..6b3d92c 100644 --- a/barbicanclient/tests/test_barbican.py +++ b/barbicanclient/tests/test_barbican.py @@ -48,7 +48,7 @@ class WhenTestingBarbicanCLI(test_client.BaseEntityResource): return client def test_should_show_usage_with_help_flag(self): - e = self.assertRaises(SystemExit, self.parser.parse_known_args, ['-h']) + e = self.assertRaises(SystemExit, self.barbican.run, ['-h']) self.assertEqual(0, e.code) self.assertIn('usage', self.captured_stdout.getvalue()) |