Example #1
0
 def assertTypeMatch(self, expected, txns):
     settlement = moneyutils.settle(txns)
     first_rec = next(iter(txns))
     amount = first_rec[3]
     self.assertIsInstance(amount, expected)
Example #2
0
 def assertSettlement(self, expected, txns):
     self.assertEqual(expected, moneyutils.settle(txns))