def test_country_continent_lookup():
    lookup = get_country_continent_lookup()
    non_nulls = {k: v for (k, v) in lookup.items() if ((k is not None) and (k != ''))}
    assert all(((len(k) == 2) for k in non_nulls.items()))
    assert all(((len(v) == 2) for v in non_nulls.values()))
    country_types = set((type(v) for v in lookup.values()))
    assert (country_types == {str, type(None)})
    assert (len(non_nulls) > 100)
    assert (len(non_nulls) < 1000)
    assert (len(set(non_nulls.values())) == 7)
def test_country_continent_lookup():
    lookup = get_country_continent_lookup()
    non_nulls = {k: v for (k, v) in lookup.items() if ((k is not None) and (k != ))}
    assert all(((len(k) == 2) for k in non_nulls.items()))
    assert all(((len(v) == 2) for v in non_nulls.values()))
    country_types = set((type(v) for v in lookup.values()))
    assert (country_types == {str, type(None)})
    assert (len(non_nulls) > 100)
    assert (len(non_nulls) < 1000)
    assert (len(set(non_nulls.values())) == 7)