Example #1
0
 def testrepr(self):
     tr1 = Transaction(id='t')
     self.assertEqual(tr1.__repr__(), tr1.__str__())
Example #2
0
def test_repr():
    tr1 = Transaction(id='t')
    assert tr1.__repr__() == tr1.__str__()