Ejemplo n.º 1
0
 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"])
Ejemplo n.º 2
0
 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"])
Ejemplo n.º 3
0
 def test_with_invalid_record_labels(self):
     commands.delete(["recordA", "notarecordB", "recordC"])
     self.assertEqual(self.prj._records_deleted,
                      ["recordA", "recordC"])
Ejemplo n.º 4
0
 def test_with_invalid_record_labels(self):
     commands.delete(["recordA", "notarecordB", "recordC"])
     self.assertEqual(self.prj._records_deleted,
                      ["recordA", "recordC"])