Skip to content

Commit

Permalink
some renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 28, 2022
1 parent 2bb8999 commit bc46299
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# pylint:disable=unused-argument
# pylint:disable=redefined-outer-name

from typing import Any, Dict
from typing import Any

import pytest
from fastapi import FastAPI
Expand Down Expand Up @@ -51,7 +51,7 @@ def test_standard_operations_on_resource(
director_mockup: MockRouter,
app: FastAPI,
client: TestClient,
fake_data_dag_in: Dict[str, Any],
fake_data_dag_in: dict[str, Any],
):

response = client.post("/v0/dags", json=fake_data_dag_in)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def test_get_service_resources(
)
assert type(expected_service_resources) == dict

assert received_resources == expected_service_resources, "%s\n%s" % (
assert received_resources == expected_service_resources, "{}\n{}".format(
json.dumps(received_resources, indent=2),
json.dumps(expected_service_resources, indent=2),
)
Expand Down

0 comments on commit bc46299

Please sign in to comment.