def test_get_cids_invalid(): with pytest.raises(ValueError): placelocal.get_cids()
def test_get_cids(): cids = placelocal.get_cids(cids=[1, 2, 3]) assert cids, "Could not get cids!" assert len(cids) == 3, "There should be exactly 3 cids!"