diff --git a/zaqar/tests/unit/storage/test_impl_mongodb.py b/zaqar/tests/unit/storage/test_impl_mongodb.py index b7ab630c3..2064e4cdb 100644 --- a/zaqar/tests/unit/storage/test_impl_mongodb.py +++ b/zaqar/tests/unit/storage/test_impl_mongodb.py @@ -86,7 +86,7 @@ class MongodbUtilsTest(MongodbSetupMixin, testing.TestBase): self.assertEqual('123/', utils.scope_queue_name(None, '123')) def test_descope_queue_name(self): - self.assertEqual(None, utils.descope_queue_name('/')) + self.assertIsNone(utils.descope_queue_name('/')) self.assertEqual('some-pig', utils.descope_queue_name('/some-pig')) self.assertEqual('some-pig', utils.descope_queue_name('radiant/some-pig'))