first working tests
This commit is contained in:
12
src/ad_test/conftest.py
Normal file
12
src/ad_test/conftest.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from typing import List
|
||||
|
||||
from pytest import Function
|
||||
|
||||
|
||||
def pytest_collection_modifyitems(session, config, items: List[Function]):
|
||||
for i, item in enumerate(items):
|
||||
if isinstance(item, Function) and "startup" in item.name:
|
||||
items.insert(0, items.pop(i))
|
||||
break
|
||||
|
||||
return items
|
||||
Reference in New Issue
Block a user