rougail/tests/dictionaries/10valid_enum_none/00-base.xml

24 lines
658 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value>
</variable>
</family>
<family name="enumfam" mode="expert">
<variable name="enumvar" type="string" description="multi" help="bla bla bla" mandatory="False">
<value>b</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param>a</param>
<param>b</param>
<param/>
<target>enumvar</target>
</check>
</constraints>
</rougail>