add some tests for values

cannot use __setitem__ to set value for an option
in append, len should not greater than master option
This commit is contained in:
2013-08-25 18:06:07 +02:00
parent f482737a47
commit 36ed6f874f
6 changed files with 46 additions and 13 deletions

View File

@ -133,6 +133,7 @@ def test_consistency_ip_netmask_multi_master():
c.b = ['255.255.255.255']
c.b = ['255.255.255.0']
raises(ValueError, "c.a = ['192.168.1.0']")
c.a = ['192.168.1.2', '192.168.1.3']
def test_consistency_network_netmask_multi_master():