Skip to content

Commit

Permalink
Removes deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Jan 16, 2019
1 parent fe0372d commit 15a23b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libres/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ def scheduler(request, dsn):
del getattr(events, event)[:]

if 'scheduler_context' in request.funcargnames:
context = request.getfuncargvalue('scheduler_context')
context = request.getfixturevalue('scheduler_context')
else:
context = None

if 'scheduler_name' in request.funcargnames:
name = request.getfuncargvalue('scheduler_context')
name = request.getfixturevalue('scheduler_context')
else:
name = None

Expand Down

0 comments on commit 15a23b7

Please sign in to comment.