Skip to content

Commit 6f96750

Browse files
committed
test(services): use ty suppression for immutable application URLs
Signed-off-by: Taylor Mutch <[email protected]>
1 parent abd394e commit 6f96750

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python/openshell/sandbox_test.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2396,7 +2396,7 @@ def test_create_forwards_service_exposures() -> None:
23962396
assert dict(ref.application_service_urls) == dict(ref.service_urls)
23972397
assert ref.gateway_service_urls["metrics"] == "https://metrics.gateway.test:8080/"
23982398
with pytest.raises(TypeError):
2399-
ref.application_service_urls["metrics"] = "changed" # type: ignore[index]
2399+
ref.application_service_urls["metrics"] = "changed" # ty: ignore[invalid-assignment]
24002400

24012401

24022402
def test_application_addresses_preserve_existing_positional_sandbox_ref() -> None:

0 commit comments

Comments
 (0)