remove group constrainte, it's now a normal group
This commit is contained in:
7
tests/dictionaries_old/00empty/00_base.xml
Normal file
7
tests/dictionaries_old/00empty/00_base.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<services>
|
||||
<service name="tata">
|
||||
</service>
|
||||
</services>
|
||||
</rougail>
|
0
tests/dictionaries_old/00empty/__init__.py
Normal file
0
tests/dictionaries_old/00empty/__init__.py
Normal file
10
tests/dictionaries_old/00empty/makedict/after.json
Normal file
10
tests/dictionaries_old/00empty/makedict/after.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"services.tata.activate": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
},
|
||||
"services.tata.manage": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
}
|
||||
}
|
4
tests/dictionaries_old/00empty/makedict/base.json
Normal file
4
tests/dictionaries_old/00empty/makedict/base.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"services.tata.activate": true,
|
||||
"services.tata.manage": true
|
||||
}
|
10
tests/dictionaries_old/00empty/makedict/before.json
Normal file
10
tests/dictionaries_old/00empty/makedict/before.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"services.tata.activate": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
},
|
||||
"services.tata.manage": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
}
|
||||
}
|
18
tests/dictionaries_old/00empty/tiramisu/base.py
Normal file
18
tests/dictionaries_old/00empty/tiramisu/base.py
Normal file
@ -0,0 +1,18 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = BoolOption(name="activate", doc="activate", default=True)
|
||||
option_4 = BoolOption(name="manage", doc="manage", default=True)
|
||||
option_2 = OptionDescription(name="tata", doc="tata", children=[option_3, option_4])
|
||||
option_1 = OptionDescription(name="services", doc="services", children=[option_2], properties=frozenset({"hidden"}))
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
Reference in New Issue
Block a user