@@ -201,14 +201,9 @@ class WorkerInteractor:
|
||||
|
||||
@pytest.hookimpl
|
||||
def pytest_collection_finish(self, session):
|
||||
try:
|
||||
topdir = str(self.config.rootpath)
|
||||
except AttributeError: # pytest <= 6.1.0
|
||||
topdir = str(self.config.rootdir)
|
||||
|
||||
self.sendevent(
|
||||
"collectionfinish",
|
||||
topdir=topdir,
|
||||
topdir=str(self.config.rootpath),
|
||||
ids=[item.nodeid for item in session.items],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user