diff options
author | yayogev <yaronyogev@gmail.com> | 2017-08-27 15:25:45 +0300 |
---|---|---|
committer | yayogev <yaronyogev@gmail.com> | 2017-08-27 16:07:00 +0300 |
commit | 2f0f087b8216a123e351bbdfeca8a4e41241e999 (patch) | |
tree | c4aaf8ef3436cacbf318bc03b9a16e7dbe53badb /app/test | |
parent | de9f324ff628a6d9e870f06e6e216f65382a978b (diff) |
handle Neutron DB schema name changes
Change-Id: I9bf11221319d3ec2174eaa78bcb363b4f24a50fe
Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app/test')
-rw-r--r-- | app/test/fetch/test_fetch.py | 2 |
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() |