forked from hans/Nominatim
add custom pytest collector for BDD feature files
This commit is contained in:
@@ -11,7 +11,7 @@ import asyncio
|
||||
import random
|
||||
|
||||
import pytest
|
||||
from pytest_bdd import scenarios, when, then, given
|
||||
from pytest_bdd import when, then, given
|
||||
from pytest_bdd.parsers import re as step_parse
|
||||
|
||||
from nominatim_db import cli
|
||||
@@ -106,4 +106,4 @@ def check_place_content(db_conn, datatable, node_grid, table, exact):
|
||||
check_table_content(db_conn, table, datatable, grid=node_grid, exact=bool(exact))
|
||||
|
||||
|
||||
scenarios('features/osm2pgsql')
|
||||
PYTEST_BDD_SCENARIOS = ['features/osm2pgsql']
|
||||
|
||||
Reference in New Issue
Block a user