def METHOD_NAME(self, hosting_provider, base_importer):
    """
    Test saving IPv4 and IPv6 networks to the database
    """
    testing_ipv4_range = ("191.233.8.25", "191.233.8.30")
    testing_ipv6_range = (
        "2603:1010:0304:0000:0000:0000:0000:0140",
        "2603:1010:0304:0000:0000:0000:0000:015f",
    )
    testing_ipv4_network = "191.233.8.24/29"
    testing_ipv6_network = "2603:1010:304::140/123"
    assert (
        GreencheckIp.objects.all().count() == 0
    )  # Test: database is empty (for IP)
    hosting_provider.save()  # Initialize hosting provider in database
    # Import a single IPv4 network
    base_importer.save_ip(testing_ipv4_range)
    assert (
        GreencheckIp.objects.all().count() == 1
    )  # Test: database is empty (for IP)
    hosting_provider.save()  # Initialize hosting provider in database
    # Import a single IPv4 network
    base_importer.save_ip(testing_ipv6_range)
    assert (
        GreencheckIp.objects.all().count() == 2
    )  # Test: database is empty (for IP)
    hosting_provider.save()  # Initialize hosting provider in database
    # Import a single IPv4 network
    base_importer.save_ip(testing_ipv4_network)
    assert (
        GreencheckIp.objects.all().count() == 3
    )  # Test: IPv4 is saved after insertion
    # Import a single IPv6 network
    base_importer.save_ip(testing_ipv6_network)
    assert (
        GreencheckIp.objects.all().count() == 4
    )  # Test: IPv6 is saved after insertion