Skip to content

Commit a1d57a1

Browse files
committed
style(tests): format test_run_identity with Black
The file shipped in 0.8.1 unformatted, so the Package workflow's Black check has failed on every push since.
1 parent a77c5d1 commit a1d57a1

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎test/runner/pipelines/test_run_identity.py‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
`${{ run.* }}` in the action's templates and DATATORCH_PROJECT_ID /
33
DATATORCH_RUN_ID / DATATORCH_PIPELINE_ID / DATATORCH_STEP_ID in the
44
process environment of whatever the action runs."""
5+
56
import os
67

78
from datatorch.core import env as env_names
89
from datatorch.runner.pipelines.step.step import Step
910
from datatorch.runner.pipelines.template import Variables
1011
from datatorch.runner.pipelines.runner.runner import Runner
1112

12-
1313
DISPATCH = {
1414
"stepId": "step-1",
1515
"runnerId": "runner-1",
@@ -44,7 +44,12 @@ def test_run_namespace_empty_in_local_mode():
4444

4545

4646
def test_runner_env_carries_identity(monkeypatch):
47-
for name in (env_names.PROJECT_ID, env_names.RUN_ID, env_names.PIPELINE_ID, env_names.STEP_ID):
47+
for name in (
48+
env_names.PROJECT_ID,
49+
env_names.RUN_ID,
50+
env_names.PIPELINE_ID,
51+
env_names.STEP_ID,
52+
):
4853
monkeypatch.setenv(name, "stale") # never inherited from the outer process
4954
step = Step.from_dispatch(DISPATCH)
5055
variables = Variables()

0 commit comments

Comments
 (0)