mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Added tw.version DOM test
This commit is contained in:
parent
8bbc35560f
commit
0742e5fbbd
1 changed files with 6 additions and 0 deletions
|
@ -208,6 +208,12 @@ class TestDOM(TestCase):
|
|||
self.assertEqual(code, 0)
|
||||
self.assertRegexpMatches(out, r"\d+")
|
||||
|
||||
def test_dom_tw_version(self):
|
||||
""" DOM tw.version """
|
||||
code, out, err = self.t("_get tw.version")
|
||||
self.assertEqual(code, 0)
|
||||
self.assertRegexpMatches(out, r"\d\.\d+\.\d+")
|
||||
|
||||
def test_dom_context_program(self):
|
||||
""" DOM context.program """
|
||||
code, out, err = self.t("_get context.program")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue