Merge "Fix wrong method name with assert_called_once_with"

This commit is contained in:
Jenkins 2014-05-22 14:39:45 +00:00 committed by Gerrit Code Review
commit fe29c0d379
1 changed files with 1 additions and 1 deletions

View File

@ -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(