summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-24 15:46:52 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-24 15:46:52 -0400
commit557650728d3c1b1c1bbd29f9292d43133c00cdd4 (patch)
tree68994d516bd5ae7fca90c9ff579e76a5c4a22f95 /tests/unittests
parent3ad9929efcab614a6ffc170c75c1c6c81b57a2b8 (diff)
downloadvyos-cloud-init-557650728d3c1b1c1bbd29f9292d43133c00cdd4.tar.gz
vyos-cloud-init-557650728d3c1b1c1bbd29f9292d43133c00cdd4.zip
add comments and improve error messages
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
index 16c44588..dfb31710 100644
--- a/tests/unittests/test_net.py
+++ b/tests/unittests/test_net.py
@@ -70,7 +70,7 @@ class TestNetConfigParsing(TestCase):
simple_cfg = {
'config': [{"type": "physical", "name": "eth0",
"mac_address": "c0:d6:9f:2c:e8:80",
- "subnets": [{"type": "dhcp4"}]}]}
+ "subnets": [{"type": "dhcp"}]}]}
def test_klibc_convert_dhcp(self):
found = net._klibc_to_config_entry(DHCP_CONTENT_1)