summaryrefslogtreecommitdiff
path: root/tests/unittests/test_net.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/test_net.py')
-rw-r--r--tests/unittests/test_net.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
index 43602030..3ae00fc6 100644
--- a/tests/unittests/test_net.py
+++ b/tests/unittests/test_net.py
@@ -248,11 +248,11 @@ class TestEniNetRendering(TestCase):
render_dir = os.path.join(tmp_dir, "render")
os.makedirs(render_dir)
- renderer = eni.Renderer()
- renderer.render_network_state(render_dir, ns,
- eni="interfaces",
- links_prefix=None,
- netrules=None)
+ renderer = eni.Renderer(
+ {'links_path_prefix': None,
+ 'eni_path': 'interfaces', 'netrules_path': None,
+ })
+ renderer.render_network_state(render_dir, ns)
self.assertTrue(os.path.exists(os.path.join(render_dir,
'interfaces')))