Example #1
0
 def tearDown(self):
     i.close_acc()
     i.trans('TM_BANK')
     i.idle()
     super(AccountTestCase, self).tearDown()
Example #2
0
def up_to_idle():
    up_to_trans()
    return i.idle()
Example #3
0
 def tearDown(self):
     i.trans('TM_CASH')
     i.idle()
     i.sign_off()
Example #4
0
 def test_invalid_idle(self):
     expected = "531 Invalid account state\n"
     up_to_close()
     response = i.idle()
     return self.assertEqual(expected, response)