diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-06-15 16:11:24 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-06-15 16:11:24 -0700 |
commit | 459de83024b41c32823b75cf483da994fb1388b7 (patch) | |
tree | 3f611a640fe41f82b1b27cf7f2ea94a78603cd49 /tests/unittests | |
parent | e0b1e3a8c925446ee9e6d15aae1783b49fb870f8 (diff) | |
download | vyos-cloud-init-459de83024b41c32823b75cf483da994fb1388b7.tar.gz vyos-cloud-init-459de83024b41c32823b75cf483da994fb1388b7.zip |
Fixup code review comments
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_net.py | 10 |
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'))) |