Skip to content

Commit

Permalink
Fix deprecation error for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
chocobn69 committed Nov 19, 2018
1 parent 3b7ba96 commit 02b8ee7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/online/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def check_sandbox_up():
return True


@pytest.fixture(params=[pytest.mark.skipif(not check_sandbox_up(), reason='need access to the sandbox')('parameter')])
@pytest.fixture
@pytest.mark.skipif(not check_sandbox_up(), reason='need access to the sandbox')
def connection():
return get_connection()

Expand Down

0 comments on commit 02b8ee7

Please sign in to comment.