Merge "Replace assertEqual(None, *) with assertIsNone in tests"
This commit is contained in:
commit
078a8b736c
@ -86,7 +86,7 @@ class MongodbUtilsTest(MongodbSetupMixin, testing.TestBase):
|
|||||||
self.assertEqual('123/', utils.scope_queue_name(None, '123'))
|
self.assertEqual('123/', utils.scope_queue_name(None, '123'))
|
||||||
|
|
||||||
def test_descope_queue_name(self):
|
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('/some-pig'))
|
||||||
self.assertEqual('some-pig',
|
self.assertEqual('some-pig',
|
||||||
utils.descope_queue_name('radiant/some-pig'))
|
utils.descope_queue_name('radiant/some-pig'))
|
||||||
|
Loading…
Reference in New Issue
Block a user