mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Added a test for when we just want to wrap a command but don't need to get
any arguments from the user.
This commit is contained in:
parent
e3d40ba5f1
commit
ec75306a37
@ -47,6 +47,9 @@ class CommandsTestCase(SupyTestCase):
|
||||
self.assertEqual(state.args, expected,
|
||||
'Expected %r, got %r' % (expected, state.args))
|
||||
|
||||
def testEmptySpec(self):
|
||||
self.assertState([], [], [])
|
||||
|
||||
def testSpecInt(self):
|
||||
self.assertState(['int'], ['1'], [1])
|
||||
self.assertState(['int', 'int', 'int'], ['1', '2', '3'], [1, 2, 3])
|
||||
|
Loading…
Reference in New Issue
Block a user