diff options
author | Dan Radez <dradez@redhat.com> | 2016-08-09 11:44:12 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-08-09 14:31:38 -0400 |
commit | ce2b7dc6d86cfeae8a8addc9ef427e1c58bf8908 (patch) | |
tree | 5b6ae10db9ba69d202b8b720e7d8a7a49f18296d /tests | |
parent | 5c9e135ccc5867ebf26bbe594cbd9964582a237d (diff) |
Making NetworkSettings a dict
Change-Id: Ib7fc4e9ca543a4c678576ea2119fa606ece0095c
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_apex_network_settings.py | 4 |
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', |