Skip to content

Commit d3a112e

Browse files
committed
Fixed tests once again.
1 parent 9a8cf5f commit d3a112e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastapi_template/tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def run_default_check(context: BuilderContext, worker_id: str, without_pytest=Fa
3232
with compose.open("r") as compose_file:
3333
data = yaml.safe_load(compose_file)
3434
data["services"]["api"]["image"] = f"test_image:v{worker_id}"
35-
for service in data["services"]:
35+
for service in data["services"].values():
3636
del service["ports"]
3737
with compose.open("w") as compose_file:
3838
yaml.safe_dump(data, compose_file)

0 commit comments

Comments
 (0)