pytest: test plugin does not register same option "name"

This commit is contained in:
Simon Vrouwe
2022-06-15 10:26:21 +03:00
committed by neil saitug
parent 2fddfe3ffc
commit 7115611249
2 changed files with 16 additions and 0 deletions

View File

@@ -22,4 +22,6 @@ plugin.add_flag_option('flag_opt', 'an example flag type option')
plugin.add_option('str_optm', None, 'an example string option', multi=True)
plugin.add_option('int_optm', 7, 'an example int type option', opt_type='int', multi=True)
plugin.add_option('greeting', 7, 'option _names_ should be unique', opt_type='int', multi=True)
plugin.run()