in find_firsts get option only one time
This commit is contained in:
@ -291,6 +291,7 @@ def test_build_dyndescription_context():
|
||||
dod = DynOptionDescription('dod', '', [st], callback=return_list, callback_params={'': ((val1, False),)})
|
||||
od = OptionDescription('od', '', [dod, val1])
|
||||
cfg = Config(od)
|
||||
cfg._impl_test = True
|
||||
assert str(cfg) == """[dodval1]
|
||||
[dodval2]
|
||||
val1 = ['val1', 'val2']"""
|
||||
|
Reference in New Issue
Block a user