mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
[Cherry-picked from wpt] This introduces two fixtures for creating a multi-test session and a longlived session. For performance it is important that we don't ordinarily create a new session for each test, but it's also important that specific tests are able to create new sessions with arbitary capabilities. MozReview-Commit-ID: DNZCgmkrwvn
14 lines
421 B
Python
14 lines
421 B
Python
import pytest
|
|
from support.fixtures import (
|
|
configuration, create_frame, create_window, http, new_session, server_config, session,
|
|
url)
|
|
|
|
pytest.fixture(scope="session")(configuration)
|
|
pytest.fixture()(create_frame)
|
|
pytest.fixture()(create_window)
|
|
pytest.fixture()(http)
|
|
pytest.fixture(scope="function")(new_session)
|
|
pytest.fixture()(server_config)
|
|
pytest.fixture(scope="function")(session)
|
|
pytest.fixture()(url)
|