Пример #1
0
 def test_exception(self, value, expected):
     with pytest.raises(expected):
         get_anywhere_network(value)
Пример #2
0
 def test_normal(self, value, expected):
     assert get_anywhere_network(value) == expected