From 04136a63cdf36a213e0d6734caeb97aa68e01a96 Mon Sep 17 00:00:00 2001 From: Seungpyo1007 Date: Wed, 23 Sep 2026 05:03:58 +0900 Subject: [PATCH] fix(test): stop hardcoding brand source_urls in integration test Brand source_urls grow as verification backfills add references (e.g. Wikidata); assert membership instead of exact list equality. --- tests/integration/test_brands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_brands.py b/tests/integration/test_brands.py index a36533b..8ad2a63 100644 --- a/tests/integration/test_brands.py +++ b/tests/integration/test_brands.py @@ -17,7 +17,7 @@ def test_get_brand_detail(client: TestClient) -> None: assert body["slug"] == "samsung" assert body["country"] == "KR" assert body["url"] == "/v1/brands/samsung" - assert body["source_urls"] == ["https://www.samsung.com"] + assert "https://www.samsung.com" in body["source_urls"] def test_unknown_brand_returns_404_envelope(client: TestClient) -> None: