Implemented non-cumulative burndown reports and added a test for them.
This commit is contained in:
committed by
Tomas Babej
parent
0bc92d6115
commit
1d804ae7c8
@@ -64,6 +64,15 @@ class TestBurndownCommand(TestCase):
|
||||
self.assertIn("+", out)
|
||||
self.assertIn("X", out)
|
||||
|
||||
def test_burndown_daily_non_cumulative(self):
|
||||
"""Ensure burndown.daily in non-cumulative mode generates a chart"""
|
||||
self.t.config("burndown.nc", True)
|
||||
code, out, err = self.t("burndown.daily")
|
||||
self.assertIn("Daily Burndown", out)
|
||||
self.assertIn(".", out)
|
||||
self.assertIn("+", out)
|
||||
self.assertIn("X", out)
|
||||
|
||||
def test_burndown_daily_color(self):
|
||||
"""Ensure burndown.daily with color, generates a chart"""
|
||||
code, out, err = self.t("burndown.daily rc._forcecolor:on")
|
||||
|
||||
Reference in New Issue
Block a user