summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-05-22 14:39:45 +0000
committerGerrit Code Review <review@openstack.org>2014-05-22 14:39:45 +0000
commitfe29c0d37936d2048a0b0573a5ea6da95dbebbc6 (patch)
tree5681963ea47fd2f24403b39e7023f737dc7779f6
parent58442acc6ac4bf83a90ed9f4919a579403226e43 (diff)
parent40528aa2f54557b81ec6e913650dcce465b6dd13 (diff)
downloadoslo-db-fe29c0d37936d2048a0b0573a5ea6da95dbebbc6.tar.gz
Merge "Fix wrong method name with assert_called_once_with"
-rw-r--r--tests/sqlalchemy/test_migration_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sqlalchemy/test_migration_common.py b/tests/sqlalchemy/test_migration_common.py
index df0c1f9..155c20c 100644
--- a/tests/sqlalchemy/test_migration_common.py
+++ b/tests/sqlalchemy/test_migration_common.py
@@ -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(