Skip to content

Commit 3c0a0f9

Browse files
committed
test(mobile): don't hardcode verified=False (data-driven via verification)
1 parent dd9293b commit 3c0a0f9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/integration/test_mobile_devices.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ def test_mobile_device_detail_includes_variant_fields(client: TestClient) -> Non
3030
assert body["brand"]["slug"] == "apple"
3131
assert body["variant"]["region"] == "global"
3232
assert body["variant"]["memory"] == {"ram_gb": 8, "storage_gb": 256}
33-
assert body["verified"] is False
33+
# `verified` is present and boolean; its value is data-driven (the verification
34+
# layer may promote this record), so don't assert a fixed value here.
35+
assert isinstance(body["verified"], bool)
3436

3537

3638
def test_mobile_device_filters(client: TestClient) -> None:

0 commit comments

Comments
 (0)