From f3503923c0f37db747d84705651c92a09d037f48 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 Oct 2015 17:16:28 -0400 Subject: [PATCH] Test: Added burndown chart test in color --- test/burndown.t | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/burndown.t b/test/burndown.t index 70cf24cf1..e1d091765 100755 --- a/test/burndown.t +++ b/test/burndown.t @@ -65,6 +65,13 @@ class TestBurndownCommand(TestCase): 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") + self.assertIn("Daily Burndown ()", out) + self.assertIn("No convergence", out) + self.assertNotIn("X", out) + def test_burndown_weekly(self): """Ensure burndown.weekly generates a chart""" code, out, err = self.t("burndown.weekly")