mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use scope='session' for all fixtures
This means they will only be executed once which makes sense since the database they create is immutable.
This commit is contained in:
parent
76d11eb768
commit
a4d6acc239
3 changed files with 5 additions and 5 deletions
|
|
@ -9,9 +9,9 @@ from .fixtures import (
|
|||
import pytest
|
||||
import urllib
|
||||
|
||||
pytest.fixture(scope='module')(app_client)
|
||||
pytest.fixture(scope='module')(app_client_shorter_time_limit)
|
||||
pytest.fixture(scope='module')(app_client_returend_rows_matches_page_size)
|
||||
pytest.fixture(scope='session')(app_client)
|
||||
pytest.fixture(scope='session')(app_client_shorter_time_limit)
|
||||
pytest.fixture(scope='session')(app_client_returend_rows_matches_page_size)
|
||||
|
||||
|
||||
def test_homepage(app_client):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue