From 2bef3bdf66bef29126ca39b9a511e6d3a46b53bd Mon Sep 17 00:00:00 2001 From: Andrew Horn Date: Wed, 29 Sep 2021 03:11:40 -0500 Subject: [PATCH] Corrected test failure message (#9) --- test_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_module.py b/test_module.py index a0debc3..cf058eb 100644 --- a/test_module.py +++ b/test_module.py @@ -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")