diff options
author | Zuul <zuul@review.opendev.org> | 2022-05-18 13:28:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-05-18 13:28:34 +0000 |
commit | c6ce0af02863439e5a4834fede07fb4bf855e631 (patch) | |
tree | 6f582e11624264bc893264243bdd078cc22d2d77 | |
parent | 7d834cc8dd576013a36c9ddc8f42d7a525041a0d (diff) | |
parent | ca596f05b1264dc376ced7086e9d68641022c0d2 (diff) | |
download | python-barbicanclient-c6ce0af02863439e5a4834fede07fb4bf855e631.tar.gz |
Merge "Fix unit test failue with cliff>=3.5.0"
-rw-r--r-- | barbicanclient/tests/test_barbican.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/barbicanclient/tests/test_barbican.py b/barbicanclient/tests/test_barbican.py index 22dfca4..c34be55 100644 --- a/barbicanclient/tests/test_barbican.py +++ b/barbicanclient/tests/test_barbican.py @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. import six -from testtools import testcase from barbicanclient import barbican as barb from barbicanclient.barbican import Barbican @@ -49,10 +48,8 @@ class WhenTestingBarbicanCLI(test_client.BaseEntityResource): self.assertIsNotNone(client) return client - @testcase.skip("https://storyboard.openstack.org/#!/story/2010022") def test_should_show_usage_with_help_flag(self): - e = self.assertRaises(SystemExit, self.barbican.run, ['-h']) - self.assertEqual(0, e.code) + self.assertRaises(SystemExit, self.barbican.run, ['-h']) self.assertIn('usage', self.captured_stdout.getvalue()) def test_should_show_usage_with_no_args(self): |