From c4bd7f9522af5b6c4a8ad8126d9c6b558ef7720c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Thu, 24 Mar 2022 00:59:38 +0100 Subject: [PATCH] fixed pytest warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- pytest.ini | 14 +++++++++++++- tests/conftest.py | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index 43cb8a7..e0d356a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,4 +2,16 @@ testpaths = tests/ norecursedirs = .* *.egg *.egg-info env* devenv* docs addopts = -m "not abci" -looponfailroots = planetmint tests +#looponfail +#root = planetmint tests +markers = + bdb: bdb + skip: skip + abci: abci + usefixture('inputs'): unclear + userfixtures('utxoset'): unclear + language: lanuage + web: web + tendermint: tendermint + execute: execute + diff --git a/tests/conftest.py b/tests/conftest.py index 724dca6..8c1cca4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -419,7 +419,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