Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
cdcda2dd
Commit
cdcda2dd
authored
Jan 29, 2020
by
VIGNET Pierre
Browse files
[tests] Fix test after the refactor of XmlVisitor: delete optional empty fields
parent
95b879a3
Changes
1
Show whitespace changes
Inline
Side-by-side
library/test/test_python_api.py
View file @
cdcda2dd
...
...
@@ -20,37 +20,37 @@ def feed_model_with_SCC():
scc
=
[[
'I'
,
'K'
,
'J'
,
'L'
],
[
'Y'
,
'X'
,
'Z'
]]
model
=
"""<?xml version = "1.0" encoding="ASCII" standalone="yes" ?>
<model xmlns="http://cadbiom" name="">
<CSimpleNode name="A"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="B"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="E"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="D"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="C"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="Y"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="X"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="Z"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="I"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="K"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="J"
xloc="0.0" yloc="0.0"
/>
<CSimpleNode name="L"
xloc="0.0" yloc="0.0"
/>
<CStartNode name="__start__0"
xloc="0" yloc="0"
/>
<CStartNode name="__start__1"
xloc="0" yloc="0"
/>
<transition ori="I" ext="J" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="L" ext="I" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="K" ext="L" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="X" ext="Z" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="__start__1" ext="X" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="J" ext="K" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="B" ext="D" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="A" ext="B" event="" condition="C"
action="" fact_ids="[]"
/>
<transition ori="X" ext="C" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="C" ext="B" event="" condition="A"
action="" fact_ids="[]"
/>
<transition ori="I" ext="K" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="D" ext="C" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="J" ext="B" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="__start__0" ext="I" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="Y" ext="X" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="Z" ext="Y" event="" condition=""
action="" fact_ids="[]"
/>
<transition ori="D" ext="E" event="" condition=""
action="" fact_ids="[]"
/>
<CSimpleNode name="A"/>
<CSimpleNode name="B"/>
<CSimpleNode name="E"/>
<CSimpleNode name="D"/>
<CSimpleNode name="C"/>
<CSimpleNode name="Y"/>
<CSimpleNode name="X"/>
<CSimpleNode name="Z"/>
<CSimpleNode name="I"/>
<CSimpleNode name="K"/>
<CSimpleNode name="J"/>
<CSimpleNode name="L"/>
<CStartNode name="__start__0"/>
<CStartNode name="__start__1"/>
<transition ori="I" ext="J" event="" condition=""/>
<transition ori="L" ext="I" event="" condition=""/>
<transition ori="K" ext="L" event="" condition=""/>
<transition ori="X" ext="Z" event="" condition=""/>
<transition ori="__start__1" ext="X" event="" condition=""/>
<transition ori="J" ext="K" event="" condition=""/>
<transition ori="B" ext="D" event="" condition=""/>
<transition ori="A" ext="B" event="" condition="C"/>
<transition ori="X" ext="C" event="" condition=""/>
<transition ori="C" ext="B" event="" condition="A"/>
<transition ori="I" ext="K" event="" condition=""/>
<transition ori="D" ext="C" event="" condition=""/>
<transition ori="J" ext="B" event="" condition=""/>
<transition ori="__start__0" ext="I" event="" condition=""/>
<transition ori="Y" ext="X" event="" condition=""/>
<transition ori="Z" ext="Y" event="" condition=""/>
<transition ori="D" ext="E" event="" condition=""/>
</model>
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment