summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-08-10 21:14:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-10 21:14:18 +0000
commitbdf5e90f537ded151d2a324798259bda88251842 (patch)
treef7b5ebc821626e69e4969575a4a55b5b8d8d4160 /tests
parent76ad2898211ec9788cd3f0a386a7c34e97dff2fb (diff)
parentce2b7dc6d86cfeae8a8addc9ef427e1c58bf8908 (diff)
Merge "Making NetworkSettings a dict"
Diffstat (limited to 'tests')
-rw-r--r--tests/test_apex_network_settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_apex_network_settings.py b/tests/test_apex_network_settings.py
index 45c26ed4..ff61cc4b 100644
--- a/tests/test_apex_network_settings.py
+++ b/tests/test_apex_network_settings.py
@@ -44,7 +44,7 @@ class TestNetworkSettings(object):
def test_get_network_settings(self):
ns = NetworkSettings('../config/network/network_settings.yaml', True)
- assert_is_instance(ns.get_network_settings(), dict)
+ assert_is_instance(ns, dict)
for role in ['controller', 'compute']:
nic_index = 1
for network in ['admin_network', 'private_network',
@@ -57,7 +57,7 @@ class TestNetworkSettings(object):
ns = NetworkSettings(
'../tests/config/network_settings_nics_not_specified.yaml',
True)
- assert_is_instance(ns.get_network_settings(), dict)
+ assert_is_instance(ns, dict)
for role in ['controller', 'compute']:
nic_index = 1
for network in ['admin_network', 'private_network',