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

@ -43,9 +43,9 @@ class Test1447(TestCase):
def test_filter_uda(self):
"""Verify single-word aliases"""
self.t.config('uda.sep.type', 'string')
self.t(('add', 'one'))
self.t(('add', 'two', 'sep:foo'))
code, out, err = self.t(('sep:', 'list'))
self.t('add one')
self.t('add two sep:foo')
code, out, err = self.t('sep: list')
self.assertEqual(0, code, "Exit code was non-zero ({0})".format(code))
self.assertIn('one', out)