Fix tests

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2019-02-15 10:16:12 +01:00
parent 85e2ec741f
commit bdb28fa744

View file

@ -82,8 +82,8 @@ class TestChart(TestCase):
code, out, err = self.t("day 2016-01-15 - 2016-01-16")
self.assertIn("""\
\nFri 15 XOXO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XOXO \
\nFri 15 XOXO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XOXO \
\n
Tracked 0:00:40
Available 23:59:20
@ -97,8 +97,8 @@ class TestChart(TestCase):
code, out, err = self.t("day 2016-01-15 - 2016-01-16")
self.assertIn("""\
\nFri 15 0 1 XOXO 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XOXO \
\nFri 15 0 1 XOXO 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XOXO \
\n
Tracked 0:00:40
Available 23:59:20
@ -112,8 +112,8 @@ class TestChart(TestCase):
code, out, err = self.t("day 2016-01-15 - 2016-01-16")
self.assertIn("""\
\nFri 15 XO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XO \
\nFri 15 XO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XO \
\n
Tracked 0:30:00
Available 23:30:00
@ -127,8 +127,8 @@ class TestChart(TestCase):
code, out, err = self.t("day 2016-01-15 - 2016-01-16")
self.assertIn("""\
\nFri 15 0 1 XO 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XO \
\nFri 15 0 1 XO 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n XO \
\n
Tracked 0:30:00
Available 23:30:00
@ -160,8 +160,8 @@ class TestChart(TestCase):
self.assertIn("""\
\nFri 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 XOXOX\
\n OXOXO\
\nSat 16 XOXOX1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n OXOXO \
\nSat 16 XOXOX1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 \
\n OXOXO \
\n
Tracked 2:00:00
Available 46:00:00