def setUp(self): if os.path.exists(Account.filepath): os.unlink(Account.filepath) greg = Account("Greg") greg.balance = 10.50 greg.pin = "1234" greg.save()