mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Test: Change most tests to use "add test" instead of split arguments
This commit is contained in:
parent
d711bda35c
commit
27b8cabac1
76 changed files with 1179 additions and 1245 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue