def test_copy(self): cs = CaseSet() cs.record(self.case1) cs.record(self.case2) cs.record(self.case1_dup) cscopy = cs.copy() for c1, c2 in zip(cs, cscopy): self.assertEqual(c1, c2)