mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
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:
parent
16398641d9
commit
969771770f
5 changed files with 15 additions and 17 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue