Differential D8641 Diff 40866 python_modules/libraries/dagster-aws/dagster_aws_tests/ecs_tests/launcher_tests/conftest.py
Changeset View
Changeset View
Standalone View
Standalone View
python_modules/libraries/dagster-aws/dagster_aws_tests/ecs_tests/launcher_tests/conftest.py
# pylint: disable=redefined-outer-name, unused-argument | # pylint: disable=redefined-outer-name, unused-argument | ||||
import warnings | |||||
from contextlib import contextmanager | from contextlib import contextmanager | ||||
import boto3 | import boto3 | ||||
import pytest | import pytest | ||||
from dagster import ExperimentalWarning | |||||
from dagster.core.definitions.reconstructable import ReconstructableRepository | from dagster.core.definitions.reconstructable import ReconstructableRepository | ||||
from dagster.core.host_representation.origin import InProcessRepositoryLocationOrigin | from dagster.core.host_representation.origin import InProcessRepositoryLocationOrigin | ||||
from dagster.core.test_utils import instance_for_test | from dagster.core.test_utils import instance_for_test | ||||
from . import repo | from . import repo | ||||
@pytest.fixture(autouse=True) | |||||
def ignore_experimental_warning(): | |||||
with warnings.catch_warnings(): | |||||
warnings.simplefilter("ignore", category=ExperimentalWarning) | |||||
yield | |||||
@pytest.fixture | @pytest.fixture | ||||
def image(): | def image(): | ||||
return "dagster:latest" | return "dagster:latest" | ||||
@pytest.fixture | @pytest.fixture | ||||
def environment(): | def environment(): | ||||
return [{"name": "FOO", "value": "bar"}] | return [{"name": "FOO", "value": "bar"}] | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |