diff --git a/test/basetest/task.py b/test/basetest/task.py index df73d699b..0125362f3 100644 --- a/test/basetest/task.py +++ b/test/basetest/task.py @@ -185,7 +185,7 @@ class Task(object): If you wish to pass instructions to task such as confirmations or other input via stdin, you can do so by providing a input string. - Such as input="y\ny". + Such as input="y\ny\n". If merge_streams=True stdout and stderr will be merged into stdout. @@ -219,7 +219,7 @@ class Task(object): If you wish to pass instructions to task such as confirmations or other input via stdin, you can do so by providing a input string. - Such as input="y\ny". + Such as input="y\ny\n". If merge_streams=True stdout and stderr will be merged into stdout. diff --git a/test/project.t b/test/project.t index e2bc9307b..398d77112 100755 --- a/test/project.t +++ b/test/project.t @@ -221,7 +221,7 @@ class TestBug605(TestCase): """ self.t("add One project:p1") - code, out, err = self.t(("1", "delete"), input="y") + code, out, err = self.t(("1", "delete"), input="y\n") self.assertIn("is 0% complete", err) self.t("add Two project:p1")