Beispiel #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))
Beispiel #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))