2019-04-08 08:41:33 +02:00
|
|
|
"""just an unicode option
|
|
|
|
"""
|
|
|
|
from tiramisu.option import StrOption, OptionDescription
|
|
|
|
|
|
|
|
def get_description():
|
|
|
|
"""generate description for this test
|
|
|
|
"""
|
|
|
|
option = StrOption('unicode', "Unicode 1")
|
|
|
|
descr1 = OptionDescription("options", "Common configuration", [option])
|
|
|
|
descr = OptionDescription("unicode1_mod_value", "Simple unicode with modified value", [descr1])
|
|
|
|
return descr
|
|
|
|
|
|
|
|
|
2023-04-15 16:12:35 +02:00
|
|
|
def get_values(api, allpath=False):
|
2019-04-08 08:41:33 +02:00
|
|
|
if allpath:
|
|
|
|
root = 'unicode1_mod_value.'
|
|
|
|
else:
|
|
|
|
root = ''
|
2023-04-15 16:12:35 +02:00
|
|
|
api.option(root + 'options.unicode').value.set('a')
|