Beispiel #1
0
 def test_exception(self, network, ip_version, expected):
     with pytest.raises(expected):
         is_anywhere_network(network, ip_version)
Beispiel #2
0
 def test_normal(self, network, ip_version, expected):
     assert is_anywhere_network(network, ip_version) == expected