Skip to content

Commit d3b45af

Browse files
committed
Marking tests as asyncio
1 parent e56929e commit d3b45af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_graph.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ async def test_graph_basic(db, bad_db):
5454
await bad_db.delete_graph(graph1_name)
5555

5656

57+
@pytest.mark.asyncio
5758
async def test_graph_properties(db, bad_graph, cluster, enterprise):
5859
# Create a graph
5960
name = generate_graph_name()
@@ -104,6 +105,7 @@ async def test_graph_properties(db, bad_graph, cluster, enterprise):
104105
assert properties.edge_definitions[0]["to"][0] == vcol2_name
105106

106107

108+
@pytest.mark.asyncio
107109
async def test_vertex_collections(db, docs, bad_graph):
108110
# Test errors
109111
with pytest.raises(VertexCollectionCreateError):
@@ -179,6 +181,7 @@ async def test_vertex_collections(db, docs, bad_graph):
179181
assert await graph.has_vertex(v2["_id"]) is True
180182

181183

184+
@pytest.mark.asyncio
182185
async def test_edge_collections(db, bad_graph):
183186
# Test errors
184187
with pytest.raises(EdgeDefinitionListError):

0 commit comments

Comments
 (0)