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

@ -154,7 +154,7 @@ class TestProject(TestBashCompletionBase):
code, out, err = self.t("add this task should be number 2 and stay number 2")
self.assertIn("Created task 2", out)
code, out, err = self.t("1 delete")
code, out, err = self.t("1 delete", input="y\n")
self.assertIn("Deleted 1 task", out)
with tasksh(self.t):