Skip to content

Commit fb13eff

Browse files
committed
Create pytestmark variable
1 parent 2cb48ad commit fb13eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/_async/test_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
import warnings
55

66
import pytest
7+
import pytest_asyncio
78

89
from geojson_aoi._async.parser import parse_aoi_async
910

11+
pytestmark = pytest.mark.asyncio
1012

1113
def is_featcol_nested_polygon(geojson) -> bool:
1214
"""Check if the data is a FeatureCollection with nested Polygon."""
@@ -17,7 +19,6 @@ def is_featcol_nested_polygon(geojson) -> bool:
1719
return False
1820

1921

20-
@pytest.mark.asyncio
2122
async def test_polygon(db, polygon_geojson):
2223
"""A single Polygon."""
2324
result = await parse_aoi_async(db, polygon_geojson)

0 commit comments

Comments
 (0)