Merge pull request #29 from Sangatdas/main

Reduce deprecation warnings in tests
This commit is contained in:
Sangat Das 2022-02-03 13:40:24 +01:00 committed by GitHub
commit f97b36f4de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -3,3 +3,10 @@ testpaths = tests/
norecursedirs = .* *.egg *.egg-info env* devenv* docs
addopts = -m "not abci"
looponfailroots = planetmint tests
asyncio_mode = strict
markers =
userfixtures
language
tendermint
usefixture
execute

View File

@ -430,7 +430,7 @@ def abci_http(_setup_database, _configure_planetmint, abci_server,
return False
@pytest.yield_fixture(scope='session')
@pytest.fixture(scope='session')
def event_loop():
import asyncio