Merge "Fix invalid assert state"

This commit is contained in:
Zuul 2019-08-14 15:04:11 +00:00 committed by Gerrit Code Review
commit e156c925e1
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class SnapshotServiceTest(common.HeatTestCase):
stk.identifier(), snapshot_id)
self.assertEqual(exception.NotFound, ex.exc_info[0])
self.assertTrue(2, mock_load.call_count)
self.assertEqual(2, mock_load.call_count)
@mock.patch.object(stack.Stack, 'load')
def test_list_snapshots(self, mock_load):