Skip to content

Commit 8957193

Browse files
Fix test_graph.py with right numbers of nodes and edges for each test (for items and collections)
1 parent a4ba997 commit 8957193

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pydatalab/tests/server/test_graph.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ def test_simple_graph(admin_client):
129129
assert len(graph["edges"]) == 2
130130

131131
graph = admin_client.get("/item-graph/parent").json
132-
assert len(graph["nodes"]) == 6
133-
assert len(graph["edges"]) == 5
132+
assert len(graph["nodes"]) == 7
133+
assert len(graph["edges"]) == 8
134134

135135
samples = sample_list.json["responses"]
136136

@@ -156,5 +156,5 @@ def test_simple_graph(admin_client):
156156
assert len(graph["edges"]) == 4
157157

158158
graph = admin_client.get("/item-graph/parent").json
159-
assert len(graph["nodes"]) == 6
160-
assert len(graph["edges"]) == 5
159+
assert len(graph["nodes"]) == 7
160+
assert len(graph["edges"]) == 10

0 commit comments

Comments
 (0)