Merge "Using assertIsNone() instead of assertEqual(None)"

This commit is contained in:
Jenkins 2017-03-28 15:14:12 +00:00 committed by Gerrit Code Review
commit ce716ebe22

View File

@ -347,7 +347,7 @@ class KollaWorkerTest(base.TestCase):
kolla.image_statuses_bad['bad'] = None
kolla.image_statuses_unmatched['unmatched'] = None
results = kolla.summary()
self.assertEqual(None, results['failed'][0]['status'])
self.assertIsNone(results['failed'][0]['status'])
@mock.patch('shutil.copytree')
def test_work_dir(self, copytree_mock):