def test_format_RRN(self): RRN = '542' result = '000000000542' self.assertEqual(Transaction.format_RRN(RRN), result)