aboutsummaryrefslogtreecommitdiffstats
path: root/app/test
diff options
context:
space:
mode:
authorYaron Yogev <yaronyogev@gmail.com>2017-08-27 13:08:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-27 13:08:39 +0000
commit1edf3399ad5419a0ba3242f86ac2addfef4bedcf (patch)
tree6427b1d2ab309159c0b6dad2124b7f9874bb1d78 /app/test
parent2830c2d58d825507a87987cf4d4c914fa6b2e7a8 (diff)
parent2f0f087b8216a123e351bbdfeca8a4e41241e999 (diff)
Merge "handle Neutron DB schema name changes"
Diffstat (limited to 'app/test')
-rw-r--r--app/test/fetch/test_fetch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/test/fetch/test_fetch.py b/app/test/fetch/test_fetch.py
index 55d7d4c..d40a52c 100644
--- a/app/test/fetch/test_fetch.py
+++ b/app/test/fetch/test_fetch.py
@@ -59,6 +59,8 @@ class TestFetch(unittest.TestCase):
self.inv = InventoryMgr()
self.inv.set_collections(self.inventory_collection)
DbAccess.conn = MagicMock()
+ DbAccess.get_neutron_db_name = MagicMock()
+ DbAccess.get_neutron_db_name.return_value = "neutron"
SshConnection.connect = MagicMock()
SshConnection.check_definitions = MagicMock()
SshConn.check_definitions = MagicMock()