Пример #1
0
 def testRecordSource(self):
     dst = test_person(1)
     src0 = test_person(0)
     src1 = test_animal(0)
     
     dst.note_src_record(src0)
     dst.note_src_record(src1)
     
     self.assertIn(src0.serial, dst.get_src_record_serials())
     self.assertIn(src1.serial, dst.get_src_record_serials())
Пример #2
0
 def testIfSchemasNotEquals(self):
     self.assertNotEqual(test_person(0), test_animal(0))