diff --git a/tests/test_all.py b/tests/test_all.py index 6b8888900e80e39837765210c6befa70b0ff245f..f8af63c7a6680829cacb891cb994388834094916 100644 --- a/tests/test_all.py +++ b/tests/test_all.py @@ -52,7 +52,7 @@ def test_species_class(): assert len(ds._obis) > 0 assert isinstance(ds._obis, pd.DataFrame) assert "Hawaii" in ds.reported_as_alien.ECOREGION.values - assert len(ds.reported_as_alien) <= len(ds.all_occurrences) + assert len(ds.reported_as_alien) < len(ds.all_occurrences) def test_marine_life_class(): @@ -108,9 +108,3 @@ def test_ecoregions_plot(): species = ml.Species(145634) species.plot(show=False) - - -def test_hypnea_musciformis_occurrenc_versus_alien(): - hm = ml.Species(145634) - assert len(set(hm.all_occurrences.ECO_CODE).symmetric_difference( - set(hm.reported_as_alien.ECO_CODE))) > 0