Turn warnings into errors in pytest's own test suite

Fix #2588
This commit is contained in:
Bruno Oliveira
2017-07-20 23:11:14 -03:00
parent 1b732fe361
commit 0726d9a09f
9 changed files with 29 additions and 37 deletions

View File

@@ -187,7 +187,7 @@ def test_dynamic_fixture_request(testdir):
pass
@pytest.fixture()
def dependent_fixture(request):
request.getfuncargvalue('dynamically_requested_fixture')
request.getfixturevalue('dynamically_requested_fixture')
def test_dyn(dependent_fixture):
pass
''')