We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a8cf5f commit d3a112eCopy full SHA for d3a112e
1 file changed
fastapi_template/tests/utils.py
@@ -32,7 +32,7 @@ def run_default_check(context: BuilderContext, worker_id: str, without_pytest=Fa
32
with compose.open("r") as compose_file:
33
data = yaml.safe_load(compose_file)
34
data["services"]["api"]["image"] = f"test_image:v{worker_id}"
35
- for service in data["services"]:
+ for service in data["services"].values():
36
del service["ports"]
37
with compose.open("w") as compose_file:
38
yaml.safe_dump(data, compose_file)
0 commit comments