Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
  • Loading branch information
lauft committed Feb 15, 2019
1 parent 85e2ec7 commit bdb28fa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/chart.t
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bdb28fa

Please sign in to comment.