New issue 554: pytest 2.6 no longer works with mocks and fixtures https://bitbucket.org/hpk42/pytest/issue/554/pytest-26-no-longer-works-with-mocks-and
sontek: I have a test that looks like this: ``` @pytest.mark.unit @mock.patch('ansvc.v1.lib.decorators.invalidate_highfiver') @mock.patch('ansvc.v1.lib.decorators.invalidate_tags') @mock.patch('ansvc.v1.models.surveys.is_survey_dirty') def test_rollups_simple_no_filter_or_compare_valid_json(hf, ig, isd): ``` and I get the error: ``` 10:47:47 fixture 'hf' not found 10:47:47 available fixtures: capfd, tmpdir, recwarn, wsgiapp, monkeypatch, cov, capsys, pytestconfig, session 10:47:47 use 'py.test --fixtures [testpath]' for help on them. ``` pytest 2.5.2 works, pytest 2.6.0 does not. Currently only seeing the failure in python 3.4 but have to dig into it more. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit