summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipatests/test_integration/test_topologies.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_topologies.py b/ipatests/test_integration/test_topologies.py
index 86ca1904f..f5332adbe 100644
--- a/ipatests/test_integration/test_topologies.py
+++ b/ipatests/test_integration/test_topologies.py
@@ -96,3 +96,22 @@ def test_topology_complete():
(2, 3),
]
assert list(topo('M', [])) == []
+
+
+def test_topology_two_connected():
+ topo = tasks.get_topo('2-connected')
+ assert topo == tasks.two_connected_topo
+ assert list(topo('M', [1, 2, 3, 4, 5, 6, 7, 8])) == [
+ ('M', 1),
+ ('M', 2),
+ (2, 3),
+ (1, 3),
+ ('M', 4),
+ ('M', 5),
+ (4, 6),
+ (5, 6),
+ (2, 4),
+ (2, 7),
+ (4, 8),
+ (7, 8),
+ ]