Exemple #1
0
 def test_is_valid_vpnv4_prefix_invalid_rd(self):
     eq_(False, validation.is_valid_vpnv4_prefix('foo:bar:10.0.0.1/24'))
Exemple #2
0
 def test_is_valid_vpnv4_prefix_not_str(self):
     eq_(False, validation.is_valid_vpnv4_prefix(1234))
Exemple #3
0
 def test_is_valid_vpnv4_prefix_short_rd(self):
     eq_(False, validation.is_valid_vpnv4_prefix('100:10.0.0.1/24'))
Exemple #4
0
 def test_is_valid_vpnv4_prefix(self):
     ok_(validation.is_valid_vpnv4_prefix('100:200:10.0.0.1/24'))
 def test_is_valid_vpnv4_prefix_invalid_rd(self):
     eq_(False, validation.is_valid_vpnv4_prefix("foo:bar:10.0.0.1/24"))
 def test_is_valid_vpnv4_prefix_short_rd(self):
     eq_(False, validation.is_valid_vpnv4_prefix("100:10.0.0.1/24"))
 def test_is_valid_vpnv4_prefix_not_str(self):
     eq_(False, validation.is_valid_vpnv4_prefix(1234))
 def test_is_valid_vpnv4_prefix(self):
     ok_(validation.is_valid_vpnv4_prefix("100:200:10.0.0.1/24"))