Test: Change most tests to use "add test" instead of split arguments

This commit is contained in:
Renato Alves
2015-07-17 19:13:26 +01:00
parent d711bda35c
commit 27b8cabac1
76 changed files with 1179 additions and 1245 deletions

View File

@@ -42,10 +42,10 @@ class TestBug441(TestCase):
def test_bad_colon_replacement(self):
"""Substitution containing a colon"""
self.t(("add", "one two three"))
self.t(("1", "modify", "/two/two:/"))
self.t("add one two three")
self.t("1 modify /two/two:/")
code, out, err = self.t(("ls",))
code, out, err = self.t("ls")
self.assertIn("one two: three", out)