diff -Nru python-barbicanclient-5.0.1/debian/changelog python-barbicanclient-5.0.1/debian/changelog --- python-barbicanclient-5.0.1/debian/changelog 2020-09-18 16:21:10.000000000 +0000 +++ python-barbicanclient-5.0.1/debian/changelog 2021-04-14 14:18:00.000000000 +0000 @@ -1,3 +1,9 @@ +python-barbicanclient (5.0.1-0ubuntu2) UNRELEASED; urgency=medium + + * Update test_barbican.py to compare None instead of 0 + + -- Heather Ellsworth Wed, 14 Apr 2021 14:18:00 +0000 + python-barbicanclient (5.0.1-0ubuntu1) groovy; urgency=medium * New upstream release for OpenStack Victoria. diff -Nru python-barbicanclient-5.0.1/debian/patches/fix-test-barbican.patch python-barbicanclient-5.0.1/debian/patches/fix-test-barbican.patch --- python-barbicanclient-5.0.1/debian/patches/fix-test-barbican.patch 1970-01-01 00:00:00.000000000 +0000 +++ python-barbicanclient-5.0.1/debian/patches/fix-test-barbican.patch 2021-04-14 14:18:00.000000000 +0000 @@ -0,0 +1,21 @@ +Description: Update test comparison value + test_barbican.py compares 0 when it should be comparing None. +Origin: vendor +Bug-ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-barbicanclient/+bug/1923626 +Forwarded: no +Reviewed-By: Heather Ellsworth +Last-Update: 2021-04-14 + +--- + +--- python-barbicanclient-5.0.1.orig/barbicanclient/tests/test_barbican.py ++++ python-barbicanclient-5.0.1/barbicanclient/tests/test_barbican.py +@@ -50,7 +50,7 @@ class WhenTestingBarbicanCLI(test_client + + def test_should_show_usage_with_help_flag(self): + e = self.assertRaises(SystemExit, self.barbican.run, ['-h']) +- self.assertEqual(0, e.code) ++ self.assertEqual(None, e.code) + self.assertIn('usage', self.captured_stdout.getvalue()) + + def test_should_show_usage_with_no_args(self): diff -Nru python-barbicanclient-5.0.1/debian/patches/series python-barbicanclient-5.0.1/debian/patches/series --- python-barbicanclient-5.0.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ python-barbicanclient-5.0.1/debian/patches/series 2021-04-14 14:18:00.000000000 +0000 @@ -0,0 +1 @@ +fix-test-barbican.patch