I can get the expected out put but I keep getting 1 failure on the chart even though the chart printed as shown in the instructions. I cannot understand the failure. Following is the failure message. Can anyone help me understand it?
Traceback (most recent call last):
File "/home/runner/boilerplate-budget-app/test_module.py", line 102, in test_create_spend_chart
self.assertEqual(actual, expected, 'Expected different chart representation. Check that all spacing is exact.')
AssertionError: 'Perc[34 chars] \n 90| \n 80| \n 70| o[331 chars] \n' != 'Perc[34 chars] \n 90| \n 80| \n 70| [340 chars] t '
Follow up - I think I just completed the project but I am not sure as I am getting the the following result when I run the program. Can anyone confirm me what is going on?
python main.py
973.96
15
89
0
*************Food*************
initial deposit 1000.00
groceries -10.15
restaurant and more foo -15.89
Transfer to Clothing -50.00
Total: 923.96
55
***********Clothing***********
Transfer from Food 50.00
-25.55
Total: 24.45
Percentage spent by category
100|
90|
80|
70|
60| o
50| o
40| o
30| o
20| o o
10| o o o
0| o o o
----------
F C A
o l u
o o t
d t o
h
i
n
g
.....67
0
......
----------------------------------------------------------------------
Ran 11 tests in 0.002s
OK