Hello,
I am trying to run test case for connection for first ticket and getting following error(s)
=================================== ERRORS ====================================
_____________________ ERROR at setup of test_atlas_setup ______________________
request = <SubRequest ‘_configure_application’ for <Function ‘test_atlas_setup’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD360748>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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 deprecated, use getfixturevalue
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109: RemovedInPytest4Warning
_____________________ ERROR at setup of test_basic_movies _____________________
request = <SubRequest ‘_configure_application’ for <Function ‘test_basic_movies’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD360208>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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')
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109:
request = <SubRequest ‘_configure_application’ for <Function ‘test_atlas_setup’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD360748>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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 deprecated, use getfixturevalue
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109: RemovedInPytest4Warning
__________________ ERROR at setup of test_search_by_movie_id __________________
request = <SubRequest ‘_configure_application’ for <Function ‘test_search_by_movie_id’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD3B6240>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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')
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109:
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109: in _configure_application
app = request.getfuncargvalue(‘app’)
request = <SubRequest ‘_configure_application’ for <Function ‘test_atlas_setup’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD360748>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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 deprecated, use getfixturevalue
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109: RemovedInPytest4Warning
__________________ ERROR at setup of test_simple_text_search __________________
request = <SubRequest ‘_configure_application’ for <Function ‘test_simple_text_search’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD360A20>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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')
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109:
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109: in configure_application
app = request.getfuncargvalue(‘app’)
…\python~1\mflix-~1\mflix~1\lib\site-packages\pytest_flask\plugin.py:109: in _configure_application
app = request.getfuncargvalue(‘app’)
request = <SubRequest ‘_configure_application’ for <Function ‘test_atlas_setup’>>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x000001C4AD360748>
@pytest.fixture(autouse=True)
def _configure_application(request, monkeypatch):
"""Use `pytest.mark.options` decorator to pass options to your application
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 deprecated, use getfixturevalue
…\python~1\mflix-~1\mflix_~1\lib\site-packages\pytest_flask\plugin.py:109: RemovedInPytest4Warning
=================== 39 deselected, 4 error in 0.33 seconds ====================
Can some one help?