detect infinite loop
This commit is contained in:
18
tests/dictionaries/80check_self/00-base.xml
Normal file
18
tests/dictionaries/80check_self/00-base.xml
Normal 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>
|
0
tests/dictionaries/80check_self/__init__.py
Normal file
0
tests/dictionaries/80check_self/__init__.py
Normal file
0
tests/dictionaries/80check_self/errno_80
Normal file
0
tests/dictionaries/80check_self/errno_80
Normal 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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user