diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-02-14 08:07:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-02-14 08:07:22 +0000 |
commit | 3a113c0c0c40b84efbc57b6f3681e63030ed1208 (patch) | |
tree | 756e475bb1e4188744c20a80294a06590c8d75b3 /os_net_config/tests | |
parent | a08a85cc40cb0584e0fda7c9361f4b922115e908 (diff) | |
parent | d1db332350a894e48a74a3b6b658d3d3c8d13c4a (diff) |
Merge "Network service is failing with DPDK"
Diffstat (limited to 'os_net_config/tests')
-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 9621b8c..78d19cb 100644 --- a/os_net_config/tests/test_impl_ifcfg.py +++ b/os_net_config/tests/test_impl_ifcfg.py @@ -935,6 +935,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) |