Corrected test failure message (#9)
This commit is contained in:
parent
0dddfe1ee4
commit
2bef3bdf66
@ -34,7 +34,7 @@ class UnitTests(unittest.TestCase):
|
|||||||
actual = self.food.ledger[1]
|
actual = self.food.ledger[1]
|
||||||
expected = {"amount": -45.67, "description": ""}
|
expected = {"amount": -45.67, "description": ""}
|
||||||
self.assertEqual(actual, expected, 'Expected `withdraw` method with no description to create a blank 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):
|
def test_get_balance(self):
|
||||||
self.food.deposit(900, "deposit")
|
self.food.deposit(900, "deposit")
|
||||||
|
Loading…
Reference in New Issue
Block a user