While running projection test getting the below error. Any idea?
C:\Users\LEN X220-2\Downloads\mflix-python>pytest -m projection
============================= test session starts =============================
platform win32 – Python 3.7.1, pytest-4.0.2, py-1.7.0, pluggy-0.8.0
rootdir: C:\Users\LEN X220-2\Downloads\mflix-python, inifile:
plugins: remotedata-0.3.1, openfiles-0.3.1, flask-0.10.0, doctestplus-0.2.0, arr
aydiff-0.3
collected 43 items / 41 deselected
tests\test_projection.py EE [100%]
=================================== ERRORS ====================================
_______________ ERROR at setup of test_basic_country_search_db ________________
request = <SubRequest ‘_configure_application’ for <Function ‘test_basic_country
_search_db’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x0000000005413F28>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your applicati
on
factory::
@pytest.mark.options(debug=False)
def test_something(app):
assert not app.debug, 'the application works not in debug mode!'
"""
if 'app' not in request.fixturenames:
return
app = request.getfuncargvalue('app')
E _pytest.warning_types.RemovedInPytest4Warning: getfuncargvalue is deprec
ated, use getfixturevalue
C:\Govind\Anaconda3\lib\site-packages\pytest_flask\plugin.py:109: RemovedInPytes
t4Warning
____________ ERROR at setup of test_basic_country_search_shape_db _____________
request = <SubRequest ‘_configure_application’ for <Function ‘test_basic_country
_search_shape_db’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000000000546AD30>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your applicati
on
factory::
@pytest.mark.options(debug=False)
def test_something(app):
assert not app.debug, 'the application works not in debug mode!'
"""
if 'app' not in request.fixturenames:
return
app = request.getfuncargvalue('app')
C:\Govind\Anaconda3\lib\site-packages\pytest_flask\plugin.py:109:
request = <SubRequest ‘_configure_application’ for <Function ‘test_basic_country
_search_db’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x0000000005413F28>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your applicati
on
factory::
@pytest.mark.options(debug=False)
def test_something(app):
assert not app.debug, 'the application works not in debug mode!'
"""
if 'app' not in request.fixturenames:
return
app = request.getfuncargvalue('app')
E _pytest.warning_types.RemovedInPytest4Warning: getfuncargvalue is deprec
ated, use getfixturevalue
C:\Govind\Anaconda3\lib\site-packages\pytest_flask\plugin.py:109: RemovedInPytes
t4Warning
=================== 41 deselected, 2 error in 0.29 seconds ====================
C:\Users\LEN X220-2\Downloads\mflix-python>