Ejemplo n.º 1
0
 def test_are_networks_same_false(self):
     network_a = '192.168.0.0/24'
     networks = ['192.168.0.0/23']
     self.assertFalse(are_networks_same(network_a, networks))
Ejemplo n.º 2
0
 def test_are_networks_same_success(self):
     network_a = '192.168.0.0/24'
     networks = ['192.168.0.0/24']
     self.assertTrue(are_networks_same(network_a, networks))