aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/tests
diff options
context:
space:
mode:
authorJames Leong <jyleong@users.noreply.github.com>2020-02-08 14:17:02 -0800
committerGitHub <noreply@github.com>2020-02-08 23:17:02 +0100
commit1f62f18154be9ffab31ce4b8d203bb8e1679e48b (patch)
tree19f1c9c5deb8eacd1ed0591a5256f043c70df1bd /ihatemoney/tests
parent9aa7e62d0f77f27590dac1cae5603e8f7efb891f (diff)
downloadihatemoney-mirror-1f62f18154be9ffab31ce4b8d203bb8e1679e48b.zip
ihatemoney-mirror-1f62f18154be9ffab31ce4b8d203bb8e1679e48b.tar.gz
ihatemoney-mirror-1f62f18154be9ffab31ce4b8d203bb8e1679e48b.tar.bz2
Statistics view #323
Remove header and table column of 'Balance' in statistics view
Diffstat (limited to 'ihatemoney/tests')
-rw-r--r--ihatemoney/tests/tests.py18
1 files changed, 4 insertions, 14 deletions
diff --git a/ihatemoney/tests/tests.py b/ihatemoney/tests/tests.py
index 876a153..0c99bca 100644
--- a/ihatemoney/tests/tests.py
+++ b/ihatemoney/tests/tests.py
@@ -933,29 +933,19 @@ class BudgetTestCase(IhatemoneyTestCase):
self.assertIn(
"<td>alexis</td>\n "
+ "<td>20.00</td>\n "
- + "<td>31.67</td>\n "
- + "<td>-11.67</td>\n",
+ + "<td>31.67</td>\n",
response.data.decode("utf-8"),
)
self.assertIn(
- "<td>fred</td>\n "
- + "<td>20.00</td>\n "
- + "<td>5.83</td>\n "
- + "<td>14.17</td>\n",
+ "<td>fred</td>\n " + "<td>20.00</td>\n " + "<td>5.83</td>\n",
response.data.decode("utf-8"),
)
self.assertIn(
- "<td>tata</td>\n "
- + "<td>0.00</td>\n "
- + "<td>2.50</td>\n "
- + "<td>-2.50</td>\n",
+ "<td>tata</td>\n " + "<td>0.00</td>\n " + "<td>2.50</td>\n",
response.data.decode("utf-8"),
)
self.assertIn(
- "<td>toto</td>\n "
- + "<td>0.00</td>\n "
- + "<td>0.00</td>\n "
- + "<td>0.00</td>\n",
+ "<td>toto</td>\n " + "<td>0.00</td>\n " + "<td>0.00</td>\n",
response.data.decode("utf-8"),
)