Fix the elevation tile test to compare with the last connect-src entry, the tile path, now that the Google tag added entries before it

This commit is contained in:
swaits committed 2026-11-20 15:51:41 -07:00
1 parent 34c6ebd1d3
commit 8caeb14218
1 file changed
+1 -1
+1 -1
View File
@@ -407,7 +407,7 @@ class HeadersTest(unittest.TestCase):
self.assertIn("img-src 'self' data: blob: https://*.google-analytics.com https://*.googletagmanager.com;", csp)
with open(os.path.join(WEB, "assets", "map", "outdoor.json"), encoding="utf-8") as f:
dem = json.load(f)["sources"]["olt-dem"]["tiles"][0]
self.assertTrue(dem.startswith(connect[2]), dem)
self.assertTrue(dem.startswith(connect[-1]), dem)
class SeoTest(unittest.TestCase):