Skip to content

Commit

Permalink
fix: drop last test with job_vars
Browse files Browse the repository at this point in the history
  • Loading branch information
urimandujano committed Mar 11, 2024
1 parent 3b74814 commit 304ddae
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/server/api/test_flow_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,6 @@ async def test_create_flow_run(self, flow, client, session):
)
assert flow_run.flow_id == flow.id

async def test_create_flow_run_with_job_variables(self, flow, client, session):
job_vars = {"key": "value"}
response = await client.post(
"/flow_runs/",
json=actions.FlowRunCreate(
flow_id=flow.id,
name="",
job_variables=job_vars,
).dict(json_compatible=True),
)
assert response.status_code == status.HTTP_201_CREATED
assert response.json()["job_variables"] == job_vars

flow_run = await models.flow_runs.read_flow_run(
session=session, flow_run_id=response.json()["id"]
)
assert flow_run.job_variables == job_vars

async def test_create_flow_run_with_infrastructure_document_id(
self, flow, client, infrastructure_document_id
):
Expand Down

0 comments on commit 304ddae

Please sign in to comment.