mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: The purge command now requires confirmation
This commit is contained in:
parent
2467200a3b
commit
46a36a10a5
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ class TestDelete(TestCase):
|
|||
code, out, err = self.t("1 delete", input="y\n")
|
||||
self.assertIn("Deleted 1 task.", out)
|
||||
|
||||
code, out, err = self.t(uuid + " purge")
|
||||
code, out, err = self.t(uuid + " purge", input="y\n")
|
||||
self.assertIn("Purged 1 task.", out)
|
||||
|
||||
code, out, err = self.t("uuids")
|
||||
|
@ -62,7 +62,7 @@ class TestDelete(TestCase):
|
|||
code, out, err = self.t("1 delete", input="y\n")
|
||||
self.assertIn("Deleted 1 task.", out)
|
||||
|
||||
code, out, err = self.t(uuid + " purge")
|
||||
code, out, err = self.t(uuid + " purge", input="y\n")
|
||||
self.assertIn("Purged 1 task.", out)
|
||||
|
||||
code, out, err = self.t("uuids")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue