Пример #1
0
 def test_several_insts(self):
     test_instrument1 = Instrument('Warranty Deed', datetime.strptime('12/29/06', '%m/%d/%y'), datetime.strptime('1/3/07', '%m/%d/%y'), 'Real Property Book', 1842, 448)
     test_instrument2 = Instrument('Statutory Warranty Deed', datetime.strptime('02/09/12', '%m/%d/%y'), datetime.strptime('3/8/12', '%m/%d/%y'), 'Real Property Book', 1842, 448)
     test_instrument3 = Instrument('Easement', datetime.strptime('12/29/15', '%m/%d/%y'), datetime.strptime('1/3/16', '%m/%d/%y'), 'Real Property Book', 1842, 448)
     report = [test_instrument1, test_instrument2, test_instrument3]
     self.assertFalse(test_instrument1.get_name() is test_instrument2.get_name(), msg='Just as I suspected.')
     return report