TW-1641: 'edit' should process or reject <mods> arguments

- Thanks to Daniel Shahaf.
This commit is contained in:
Paul Beckingham 2015-07-25 09:39:13 -04:00
parent 7aa101de58
commit 99e0953489
12 changed files with 19 additions and 0 deletions

View file

@ -83,6 +83,11 @@ class TestTaskEdit(TestCase):
# Does not fail
self.t("1 edit")
def test_command_line_modifications(self):
"""Verify that the 'edit' command does not accept command line modifications"""
code, out, err = self.t.runError("1 edit +foo")
self.assertIn("Command line modifications are not support by this command.", err)
if __name__ == "__main__":
from simpletap import TAPTestRunner