Corrected test failure message (#9)

This commit is contained in:
Andrew Horn
2021-09-29 03:11:40 -05:00
committed by GitHub
parent 0dddfe1ee4
commit 2bef3bdf66
+1 -1
View File
@@ -34,7 +34,7 @@ class UnitTests(unittest.TestCase):
actual = self.food.ledger[1]
expected = {"amount": -45.67, "description": ""}
self.assertEqual(actual, expected, 'Expected `withdraw` method with no description to create a blank description.')
self.assertEqual(good_withdraw, True, 'Expected `transfer` method to return `True`.')
self.assertEqual(good_withdraw, True, 'Expected `withdraw` method to return `True`.')
def test_get_balance(self):
self.food.deposit(900, "deposit")