예제 #1
0
파일: tests.py 프로젝트: thoas/nydus
 def test_delete_excludes_first_arg(self):
     command = EventualCommand('delete', ['foo', 1])
     result = grouped_args_for_command(command)
     self.assertEqual(result, [1])
예제 #2
0
파일: tests.py 프로젝트: jusbrasil/nydus
 def test_delete_excludes_first_arg(self):
     command = EventualCommand('delete', ['foo', 1])
     result = grouped_args_for_command(command)
     self.assertEqual(result, [1])
예제 #3
0
파일: tests.py 프로젝트: thoas/nydus
 def test_set_excludes_first_two_args(self):
     command = EventualCommand('set', ['foo', 1, 'biz'])
     result = grouped_args_for_command(command)
     self.assertEqual(result, ['biz'])
예제 #4
0
파일: tests.py 프로젝트: jusbrasil/nydus
 def test_set_excludes_first_two_args(self):
     command = EventualCommand('set', ['foo', 1, 'biz'])
     result = grouped_args_for_command(command)
     self.assertEqual(result, ['biz'])