detect infinite loop

This commit is contained in:
2022-01-19 18:24:00 +01:00
parent e8667848e9
commit 4c011ee551
8 changed files with 44 additions and 13 deletions

View File

@ -0,0 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>b</value>
</variable>
<variable name="int" type="number" description="No change"/>
</family>
</variables>
<constraints>
<check name="valid_lower">
<param name="mini" type="number">0</param>
<param name="maxi" type="variable">int</param>
<target>int</target>
</check>
</constraints>
</rougail>

View File

View File

@ -2,9 +2,11 @@ from lxml import etree
from os import getcwd
from os.path import isfile, join, isdir
from pytest import fixture, raises
from os import listdir
from os import listdir, environ
from json import load
environ['TIRAMISU_LOCALE'] = 'en'
from rougail import RougailConvert, RougailConfig
from rougail.error import DictConsistencyError

View File

@ -1,9 +1,11 @@
from lxml import etree
from os.path import isfile, join, isdir
from pytest import fixture, mark
from os import listdir, mkdir
from os import listdir, mkdir, environ
from json import dump, load, dumps, loads
environ['TIRAMISU_LOCALE'] = 'en'
from tiramisu import Config
from tiramisu.error import PropertiesOptionError