Skip to content

Commit

Permalink
Update getfuncargvalue -> getfixturevalue
Browse files Browse the repository at this point in the history
getfuncargvalue was deprecated in pytest 3.0.0:

* https://docs.pytest.org/en/latest/changelog.html?highlight=getfuncargvalue#id329
* pytest-dev/pytest#1626

The latest, which we use, is pytest 3.5.0.
  • Loading branch information
seanh committed Apr 9, 2018
1 parent cea835f commit 3da238a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/h/views/activity_test.py
Expand Up @@ -1113,7 +1113,7 @@ def controller(self, request):
UserSearchController instance as the controller argument, and once with
a GroupSearchController.
"""
return request.getfuncargvalue(request.param)
return request.getfixturevalue(request.param)

@pytest.fixture
def group_search_controller(self, group, pyramid_request):
Expand Down

0 comments on commit 3da238a

Please sign in to comment.