summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/utils/tests/neutron_utils_tests.py
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-08-07 10:30:29 -0600
committerspisarski <s.pisarski@cablelabs.com>2017-08-07 10:30:29 -0600
commit8d71b60aa3fc785627b488383c17ef30a3838030 (patch)
treee7e4d69a7c23735a5f9f081843c64538543fb7b6 /snaps/openstack/utils/tests/neutron_utils_tests.py
parent27b8b1c246d63c14f112a99362873fe887c13c10 (diff)
Refactored neutron_utils#get_router_by_name() to get_router()
Added a router_settings (RouterSettings) object parameter in addition to router_name for more robust query options. JIRA: SNAPS-163 Change-Id: I47672f531171d6ee0c90dabb6641640bf97c1d20 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'snaps/openstack/utils/tests/neutron_utils_tests.py')
-rw-r--r--snaps/openstack/utils/tests/neutron_utils_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snaps/openstack/utils/tests/neutron_utils_tests.py b/snaps/openstack/utils/tests/neutron_utils_tests.py
index 6929c4b..f6fc2bb 100644
--- a/snaps/openstack/utils/tests/neutron_utils_tests.py
+++ b/snaps/openstack/utils/tests/neutron_utils_tests.py
@@ -828,7 +828,7 @@ def validate_router(neutron, name, exists):
:param exists: Whether or not the network name should exist or not
:return: True/False
"""
- router = neutron_utils.get_router_by_name(neutron, name)
+ router = neutron_utils.get_router(neutron, router_name=name)
if exists and router:
return True
return False