Tests: Fixed bad duplicate class/method name

This commit is contained in:
Paul Beckingham 2017-03-23 01:52:43 -04:00
parent 4c2fa33a08
commit 640a90e473

View file

@ -67,7 +67,7 @@ class TestHistoryDaily(TestCase):
self.assertRegexpMatches(out, "2015 January 2\s+\++X+\s")
self.assertRegexpMatches(out, "\s+February 2\s+\++X+\-+")
class TestHistoryDaily(TestCase):
class TestHistoryWeekly(TestCase):
def setUp(self):
"""Executed before each test in the class"""
self.t = Task()
@ -85,7 +85,7 @@ class TestHistoryDaily(TestCase):
]"""
self.t("import -", input=self.data)
def test_history_daily(self):
def test_history_weekly(self):
"""Verify 'history.weekly' correctly categorizes data"""
code, out, err = self.t("history.weekly")
self.assertRegexpMatches(out, "7\s+1\s+0\s+6")