Skip to content

Commit cc89dcb

Browse files
committed
fixes dv2
1 parent 9bf15c0 commit cc89dcb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

services/director-v2/tests/unit/test_modules_dynamic_sidecar_docker_compose_specs.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,14 @@ async def test_inject_resource_limits_and_reservations(
149149
assert f"{MEM_RESOURCE_LIMIT_KEY}={memory.limit}" in spec["environment"]
150150

151151

152-
_json_schema_extra = {}
153-
SimcoreServiceLabels.model_json_schema()(_json_schema_extra)
154-
155-
156152
@pytest.mark.parametrize(
157153
"compose_spec, storage_opt_count",
158154
[
159155
pytest.param(
160156
json.loads(
161-
_json_schema_extra["examples"][2]["simcore.service.compose-spec"]
157+
SimcoreServiceLabels.model_json_schema()["examples"][2][
158+
"simcore.service.compose-spec"
159+
]
162160
),
163161
2,
164162
id="two_storage_opt_entries",

0 commit comments

Comments
 (0)