256
256
opts, args = self.parse(options, ['--hello=world', '--hello=sailor'])
257
257
self.assertEqual(['world', 'sailor'], opts.hello)
261
opts, args = self.parse(options, ['--with-dash=world',
259
265
def test_list_option_no_arguments(self):
260
266
options = [option.ListOption('hello', type=str)]
261
267
opts, args = self.parse(options, [])