CmdStart: Do not assume :all hint means now

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
Shaun Ruffell 2020-06-07 23:12:59 -05:00 committed by Thomas Lauf
parent 6a52a412ba
commit 4aacba47df
2 changed files with 14 additions and 8 deletions

View file

@ -263,6 +263,10 @@ class TestStart(TestCase):
code, out, err = self.t.runError("start 2h ago proja")
self.assertIn("The end of a date range must be after the start.", err)
def test_start_will_error_with_all_hint(self):
"""Start will return an error when passed the :all hint"""
code, out, err = self.t.runError("start :all proja")
if __name__ == "__main__":
from simpletap import TAPTestRunner