diff --git a/muranoclient/tests/unit/test_shell.py b/muranoclient/tests/unit/test_shell.py index d4b884e6..e22d2ff8 100644 --- a/muranoclient/tests/unit/test_shell.py +++ b/muranoclient/tests/unit/test_shell.py @@ -1226,8 +1226,8 @@ class ShellPackagesOperations(ShellCommandTest): ], any_order=True, ) - self.assertTrue(self.client.packages.create.call_count > 2) - self.assertTrue(self.client.packages.create.call_count < 5) + self.assertGreater(self.client.packages.create.call_count, 2) + self.assertLess(self.client.packages.create.call_count, 5) @mock.patch('muranoclient.common.utils.Package.from_file') def test_package_import_no_categories(self, from_file):