diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-22 19:03:25 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-22 19:03:25 +0000 |
commit | 589bfb0e1c9b5228762f050a95d4b128395446be (patch) | |
tree | fd0985c727e18a8180f85e6eb51f5f5a2f99754b /os_net_config/tests/test_impl_ifcfg.py | |
parent | 41634740c6d83fa3be4456239d37c2cd9a7b97ae (diff) | |
parent | 8753af055a3efd2817fd54169a21527a03b0721f (diff) |
Merge "Network service is failing with DPDK" into stable/ocata
Diffstat (limited to 'os_net_config/tests/test_impl_ifcfg.py')
-rw-r--r-- | os_net_config/tests/test_impl_ifcfg.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/os_net_config/tests/test_impl_ifcfg.py b/os_net_config/tests/test_impl_ifcfg.py index 4f2b03e..82ca116 100644 --- a/os_net_config/tests/test_impl_ifcfg.py +++ b/os_net_config/tests/test_impl_ifcfg.py @@ -972,6 +972,13 @@ class TestIfcfgNetConfigApply(base.TestCase): return self.temp_ifcfg_file.name self.stubs.Set(impl_ifcfg, 'ifcfg_config_path', test_ifcfg_path) + def test_remove_ifcfg_config(name): + ifcfg_file = self.temp_ifcfg_file.name + if os.path.exists(ifcfg_file): + os.remove(ifcfg_file) + self.stubs.Set(impl_ifcfg, 'remove_ifcfg_config', + test_remove_ifcfg_config) + def test_routes_path(name): return self.temp_route_file.name self.stubs.Set(impl_ifcfg, 'route_config_path', test_routes_path) |