def test_empty(self, input_): assert convert_to_ipnetworks(input_) == []
def test_nok(self, input_): with pytest.raises(ParseError): convert_to_ipnetworks(input_)
def test_ok(self, input_): network = convert_to_ipnetworks(input_) assert network and len(network) > 0