mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Test: Drop default confirmation:off and correct tests accordingly
This commit is contained in:
parent
1ad8aa9aec
commit
fe23510c51
24 changed files with 68 additions and 46 deletions
|
@ -42,7 +42,14 @@ class TestBug1475(TestCase):
|
|||
|
||||
def test_config_unmolested(self):
|
||||
"""Verify that a config value is not borked by lex/eval"""
|
||||
self.t("config name one/two/three")
|
||||
self.t.config("name", "one/two/three")
|
||||
|
||||
code, out, err = self.t("_get rc.name")
|
||||
self.assertEqual("one/two/three\n", out)
|
||||
|
||||
def test_config_unmolested_2(self):
|
||||
"""Verify that a config value is not borked by lex/eval - literal"""
|
||||
self.t("config name one/two/three", input="y\n")
|
||||
|
||||
code, out, err = self.t("_get rc.name")
|
||||
self.assertEqual("one/two/three\n", out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue