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

This commit is contained in:
Jenkins 2016-10-05 15:55:31 +00:00 committed by Gerrit Code Review
commit 2c72536137
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class TestTenantResourceManager(base.RugTestBase):
self.trm.state_machines['1234'] = mock.Mock()
self.trm._delete_resource(r)
self.assertNotIn('1234', self.trm.state_machines)
self.assertIs(None, self.trm._default_resource_id)
self.assertIsNone(self.trm._default_resource_id)
def test_delete_not_default_resource(self):
r = event.Resource(