From 2f0f087b8216a123e351bbdfeca8a4e41241e999 Mon Sep 17 00:00:00 2001
From: yayogev <yaronyogev@gmail.com>
Date: Sun, 27 Aug 2017 15:25:45 +0300
Subject: handle Neutron DB schema name changes

Change-Id: I9bf11221319d3ec2174eaa78bcb363b4f24a50fe
Signed-off-by: yayogev <yaronyogev@gmail.com>
---
 app/test/fetch/test_fetch.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'app/test/fetch')

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()
-- 
cgit 1.2.3-korg