Merge "Replace assertEqual(None, *) with assertIsNone in tests"

This commit is contained in:
Jenkins 2016-01-06 22:51:57 +00:00 committed by Gerrit Code Review
commit 078a8b736c

View File

@ -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'))