def test_remove_multiple_geodata(mp): scen = TimeSeries(mp, *test_args, version='new', annotation='fo') scen.add_geodata(DATA['geo']) row = DATA['geo'].loc[[False, True, True]] scen.remove_geodata(row) scen.commit('adding geodata (references to map layers)') assert_geodata(scen.get_geodata(), DATA['geo'].loc[[True, False, False]])
def test_remove_multiple_geodata(mp): scen = TimeSeries(mp, *test_args, version="new", annotation="fo") scen.add_geodata(DATA["geo"]) row = DATA["geo"].loc[[False, True, True]] scen.remove_geodata(row) scen.commit("adding geodata (references to map layers)") assert_geodata(scen.get_geodata(), DATA["geo"].loc[[True, False, False]])