mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Tests: Fixed bad duplicate class/method name
This commit is contained in:
parent
4c2fa33a08
commit
640a90e473
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ class TestHistoryDaily(TestCase):
|
||||||
self.assertRegexpMatches(out, "2015 January 2\s+\++X+\s")
|
self.assertRegexpMatches(out, "2015 January 2\s+\++X+\s")
|
||||||
self.assertRegexpMatches(out, "\s+February 2\s+\++X+\-+")
|
self.assertRegexpMatches(out, "\s+February 2\s+\++X+\-+")
|
||||||
|
|
||||||
class TestHistoryDaily(TestCase):
|
class TestHistoryWeekly(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
"""Executed before each test in the class"""
|
"""Executed before each test in the class"""
|
||||||
self.t = Task()
|
self.t = Task()
|
||||||
|
@ -85,7 +85,7 @@ class TestHistoryDaily(TestCase):
|
||||||
]"""
|
]"""
|
||||||
self.t("import -", input=self.data)
|
self.t("import -", input=self.data)
|
||||||
|
|
||||||
def test_history_daily(self):
|
def test_history_weekly(self):
|
||||||
"""Verify 'history.weekly' correctly categorizes data"""
|
"""Verify 'history.weekly' correctly categorizes data"""
|
||||||
code, out, err = self.t("history.weekly")
|
code, out, err = self.t("history.weekly")
|
||||||
self.assertRegexpMatches(out, "7\s+1\s+0\s+6")
|
self.assertRegexpMatches(out, "7\s+1\s+0\s+6")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue