def test_valid_network(self): self.assertEqual('IPv4', utils.get_ip_version('10.0.0.1')) self.assertEqual( 'IPv6', utils.get_ip_version('AA42:0000:0000:0000:0202:B3FF:FE1E:8329'))
def test_valid_network(self): self.assertEqual('IPv4', utils.get_ip_version('10.0.0.1')) self.assertEqual('IPv6', utils.get_ip_version( 'AA42:0000:0000:0000:0202:B3FF:FE1E:8329'))