Skip to content

Commit

Permalink
Replace getfuncargvalue with getfixturevalue
Browse files Browse the repository at this point in the history
There is not getfuncargvalue  function starting from pytest 5.1.

pytest-dev/pytest#5180
  • Loading branch information
danilaeremin committed Jan 20, 2022
1 parent 464afeb commit 3bc0442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ def h(request):
if 'app' not in request.fixturenames:
return

app = request.getfuncargvalue('app')
app = request.getfixturevalue('app')
return Humanize(app)

0 comments on commit 3bc0442

Please sign in to comment.