mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added color to 'stats' test, for coverage
This commit is contained in:
parent
cb2eadcb2f
commit
df3bcb1a4d
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ class TestStatisticsCommand(TestCase):
|
|||
self.assertRegexpMatches(out, "Deleted\s+1\n")
|
||||
self.assertRegexpMatches(out, "Total\s+3\n")
|
||||
|
||||
code, out, err = self.t("stats rc._forcecolor:on")
|
||||
self.assertRegexpMatches(out, "Pending\s+1\n")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue