Upgrade pytest to 3.6.0

https://github.com/pytest-dev/pytest/issues/1875 made it impossible to declare
a function as a fixture multiple times, which we were doing across different
modules. The fix was to move our @pytest.fixture calls into decorators in the
tests/fixtures.py module.
This commit is contained in:
Simon Willison 2018-05-31 06:40:30 -07:00
commit 969771770f
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
5 changed files with 15 additions and 17 deletions

View file

@ -1,11 +1,9 @@
from bs4 import BeautifulSoup as Soup
from .fixtures import (
from .fixtures import ( # noqa
app_client,
)
import pytest
pytest.fixture(scope='session')(app_client)
def test_plugins_dir_plugin(app_client):
response = app_client.get(