mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Updated to non-deprecated Boolean values
This commit is contained in:
parent
2e11c3c104
commit
43e1a2c991
23 changed files with 57 additions and 57 deletions
|
@ -40,16 +40,16 @@ class TestOverride(TestCase):
|
|||
def setUp(self):
|
||||
"""Executed before each test in the class"""
|
||||
self.t = Task()
|
||||
self.t.config("regex", "off")
|
||||
self.t.config("regex", "0")
|
||||
self.t.config("verbose", "nothing")
|
||||
|
||||
def test_override(self):
|
||||
"""Verify override is displayed in 'show' command"""
|
||||
code, out, err = self.t("show regex")
|
||||
self.assertRegexpMatches(out, r"regex +off")
|
||||
self.assertRegexpMatches(out, r"regex +0")
|
||||
|
||||
code, out, err = self.t("rc.regex:on show regex")
|
||||
self.assertRegexpMatches(out, r"regex +on")
|
||||
code, out, err = self.t("rc.regex:1 show regex")
|
||||
self.assertRegexpMatches(out, r"regex +1")
|
||||
|
||||
|
||||
class TestRCSegfault(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue