Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
bd2ec32b
Commit
bd2ec32b
authored
Aug 12, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests.
Graphs were not cyclic.
parent
4c2acbc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+13
-11
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
bd2ec32b
...
...
@@ -8426,10 +8426,11 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_si_tree_cyclic_disconnected
(
self
):
"""Two trees, where one is cyclic are disconnected
B --> A <-
\
\
-> H --/
C --> D --> G <-
\
\
-> E --> F --/
B --> A
\
-> H
C --> D --> G
^
\
-> E --> F
\
\
------------/
"""
self
.
_test_si_tree
()
graph
=
{
...
...
@@ -8438,9 +8439,9 @@ class TestVifibSlapWebService(testVifibMixin):
'C'
:
[
'D'
,
'E'
],
'D'
:
[
'G'
],
'E'
:
[
'F'
],
'F'
:
[
'
G
'
],
'F'
:
[
'
C
'
],
'G'
:
[],
'H'
:
[
'A'
],
'H'
:
[],
}
root
=
'B'
from
erp5.document.SoftwareInstance
import
DisconnectedSoftwareTree
...
...
@@ -8548,10 +8549,11 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_si_tree_cyclic_disconnected_cyclic
(
self
):
"""Two trees, where one is cyclic are disconnected
B --> A <-
\
\
-> H --/
C --> D --> G <-
\
\
-> E --> F --/
B --> A
\
-> H
C --> D --> G
^
\
-> E --> F
\
\
------------/
"""
self
.
_test_si_tree
()
graph
=
{
...
...
@@ -8560,7 +8562,7 @@ class TestVifibSlapWebService(testVifibMixin):
'C'
:
[
'D'
,
'E'
],
'D'
:
[
'G'
],
'E'
:
[
'F'
],
'F'
:
[
'
G
'
],
'F'
:
[
'
C
'
],
'G'
:
[],
'H'
:
[
'A'
],
}
...
...
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