Merge "Fix wrong method name with assert_called_once_with"
This commit is contained in:
commit
fe29c0d379
|
@ -174,7 +174,7 @@ class TestMigrationCommon(test_base.DbTestCase):
|
|||
mock_find_repo.return_value = self.return_value
|
||||
migration.db_sync(self.engine, self.path, self.test_version)
|
||||
|
||||
mock_sanity.assert_called_once()
|
||||
mock_sanity.assert_called_once_with(self.engine)
|
||||
|
||||
def test_db_sync_sanity_skipped(self):
|
||||
with contextlib.nested(
|
||||
|
|
Loading…
Reference in New Issue