From 4cae7ec2b68d594bd3a10399e8a83107ca92eb93 Mon Sep 17 00:00:00 2001 From: rohan Date: Sat, 28 Mar 2026 06:26:03 +0530 Subject: [PATCH] fix: use full URL assertion to resolve CodeQL substring sanitization alert --- packages/gds-owl/tests/test_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gds-owl/tests/test_export.py b/packages/gds-owl/tests/test_export.py index c5b1129..1abf253 100644 --- a/packages/gds-owl/tests/test_export.py +++ b/packages/gds-owl/tests/test_export.py @@ -137,7 +137,7 @@ def test_wires_exported(self, thermostat_spec: GDSSpec) -> None: def test_custom_base_uri(self, thermostat_spec: GDSSpec) -> None: g = spec_to_graph(thermostat_spec, base_uri="https://example.com/") ttl = g.serialize(format="turtle") - assert "example.com" in ttl + assert "https://example.com/" in ttl class TestSystemIRToGraph: