mirror of
https://github.com/planetmint/planetmint.git
synced 2025-06-05 21:56:44 +00:00
Reduce deprecation warnings in tests
This commit is contained in:
parent
f366aab1f2
commit
c2b4e550f0
@ -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
|
||||
|
2
setup.py
2
setup.py
@ -74,7 +74,7 @@ tests_require = [
|
||||
|
||||
install_requires = [
|
||||
'chardet==3.0.4',
|
||||
'aiohttp==3.7.4',
|
||||
'aiohttp==3.8.1',
|
||||
'bigchaindb-abci==1.0.7',
|
||||
'planetmint-cryptoconditions>=0.9.0',
|
||||
'flask-cors==3.0.10',
|
||||
|
@ -9,6 +9,7 @@ Tasks:
|
||||
1. setup test database before starting the tests
|
||||
2. delete test database after running the tests
|
||||
"""
|
||||
import asyncio
|
||||
import json
|
||||
import os
|
||||
import copy
|
||||
@ -430,7 +431,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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user