Differential D4761 Diff 23634 python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_partition_backfill.py
Changeset View
Changeset View
Standalone View
Standalone View
python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_partition_backfill.py
from dagster_graphql.client.query import LAUNCH_PARTITION_BACKFILL_MUTATION | from dagster_graphql.client.query import LAUNCH_PARTITION_BACKFILL_MUTATION | ||||
from dagster_graphql.test.utils import ( | from dagster_graphql.test.utils import ( | ||||
execute_dagster_graphql, | execute_dagster_graphql, | ||||
execute_dagster_graphql_and_finish_runs, | execute_dagster_graphql_and_finish_runs, | ||||
infer_repository_selector, | infer_repository_selector, | ||||
) | ) | ||||
from dagster.core.test_utils import environ | from dagster.core.test_utils import environ | ||||
from .graphql_context_test_suite import ( | from .graphql_context_test_suite import ( | ||||
ExecutingGraphQLContextTestMatrix, | |||||
GraphQLContextVariant, | GraphQLContextVariant, | ||||
OutOfProcessExecutingGraphQLContextTestMatrix, | |||||
make_graphql_context_test_suite, | make_graphql_context_test_suite, | ||||
) | ) | ||||
from .utils import ( | from .utils import ( | ||||
get_all_logs_for_finished_run_via_subscription, | get_all_logs_for_finished_run_via_subscription, | ||||
step_did_fail, | step_did_fail, | ||||
step_did_not_run, | step_did_not_run, | ||||
step_did_succeed, | step_did_succeed, | ||||
) | ) | ||||
class TestPartitionBackfill(ExecutingGraphQLContextTestMatrix): | class TestPartitionBackfill(OutOfProcessExecutingGraphQLContextTestMatrix): | ||||
def test_launch_full_pipeline_backfill(self, graphql_context): | def test_launch_full_pipeline_backfill(self, graphql_context): | ||||
repository_selector = infer_repository_selector(graphql_context) | repository_selector = infer_repository_selector(graphql_context) | ||||
result = execute_dagster_graphql( | result = execute_dagster_graphql( | ||||
graphql_context, | graphql_context, | ||||
LAUNCH_PARTITION_BACKFILL_MUTATION, | LAUNCH_PARTITION_BACKFILL_MUTATION, | ||||
variables={ | variables={ | ||||
"backfillParams": { | "backfillParams": { | ||||
"selector": { | "selector": { | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |