def test_with_valid_tag(self): commands.delete(["--tag", "tagA", "tagB"]) self.assertEqual(self.prj._records_deleted, ["records_tagged_with_tagA", "records_tagged_with_tagB"])
def test_with_invalid_record_labels(self): commands.delete(["recordA", "notarecordB", "recordC"]) self.assertEqual(self.prj._records_deleted, ["recordA", "recordC"])