Test: Drop default confirmation:off and correct tests accordingly

This commit is contained in:
Renato Alves 2015-07-28 17:00:04 +01:00
parent 1ad8aa9aec
commit fe23510c51
24 changed files with 68 additions and 46 deletions

View file

@ -45,7 +45,7 @@ class TestBug954(TestCase):
def test_deletion_by_uuid(self):
"""Verify deletion using extant UUID"""
code, out, err = self.t("_get 1.uuid")
code, out, err = self.t(out.strip() + " delete")
code, out, err = self.t(out.strip() + " delete", input="y\n")
self.assertIn("Deleting task 1 'foo'", out)
def test_deletion_by_missing_uuid(self):