Files
firefox/testing/web-platform/tests/webdriver/conftest.py
T
James Graham 9847b2c413 Bug 1363982 - Clean up fixtures for session creation in wdspec, a=testonly
[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
2017-05-11 18:01:47 +01:00

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)