def METHOD_NAME(self, sample_data_raw, hosting_provider: Hostingprovider):
    """
    Test the parsing function.
    """
    # Initialize Csv importer
    hosting_provider.save()
    importer = CSVImporter(hosting_provider)
    # Run parse list with sample data
    list_of_addresses = importer.parse_to_list(sample_data_raw)
    # Test: resulting list contains some items
    assert len(list_of_addresses) > 0
    # do we have an ip network?
    assert "104.21.2.0/24" in list_of_addresses
    # have we filtered out our incorrect IP network?
    assert "104.21.2.192/24" not in list_of_addresses
    # do we have our expected AS number?
    assert "AS234" in list_of_addresses
    # have we filtered out our bad AS line?
    assert "AS" not in list_of_addresses
    # do we have an IP range in our list
    expected_ip_range = ("104.21.2.197", "104.21.2.199")
    assert expected_ip_range in list_of_addresses