mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Implemented non-cumulative burndown reports and added a test for them.
This commit is contained in:
parent
0bc92d6115
commit
1d804ae7c8
2 changed files with 43 additions and 39 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue