Skip to content

Commit 4ab9691

Browse files
committed
Update field tests.
1 parent 25569e6 commit 4ab9691

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/test_providers.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,9 +1184,9 @@ def parse(self, response: DummyResponse, product: Product):
11841184
assert auto_field_stats == {
11851185
"scrapy-zyte-api/auto_fields/tests.test_providers.test_auto_field_stats_partial_override.<locals>.MyProductPage": (
11861186
"additionalProperties aggregateRating availability breadcrumbs "
1187-
"canonicalUrl color currency currencyRaw description descriptionHtml "
1188-
"features gtin images mainImage metadata mpn price productId "
1189-
"regularPrice size sku style url variants"
1187+
"canonicalUrl color currency currencyRaw customAttributes description "
1188+
"descriptionHtml features gtin images mainImage metadata mpn price "
1189+
"productId regularPrice size sku style url variants"
11901190
),
11911191
}
11921192

@@ -1424,9 +1424,9 @@ def parse(self, response: DummyResponse, page: MyProductPage):
14241424
assert auto_field_stats == {
14251425
"scrapy-zyte-api/auto_fields/tests.test_providers.test_auto_field_stats_item_page_override.<locals>.MyProductPage": (
14261426
"additionalProperties aggregateRating availability breadcrumbs "
1427-
"canonicalUrl color currency currencyRaw description descriptionHtml "
1428-
"features gtin images mainImage metadata mpn price productId "
1429-
"regularPrice size sku style url variants"
1427+
"canonicalUrl color currency currencyRaw customAttributes description "
1428+
"descriptionHtml features gtin images mainImage metadata mpn price "
1429+
"productId regularPrice size sku style url variants"
14301430
),
14311431
}
14321432

@@ -1490,9 +1490,9 @@ def parse(self, response: DummyResponse, page: AltProductPage):
14901490
assert auto_field_stats == {
14911491
"scrapy-zyte-api/auto_fields/tests.test_providers.test_auto_field_stats_alt_page_override.<locals>.MyProductPage": (
14921492
"additionalProperties aggregateRating availability breadcrumbs "
1493-
"canonicalUrl color currency currencyRaw description descriptionHtml "
1494-
"features gtin images mainImage metadata mpn price productId "
1495-
"regularPrice size sku style url variants"
1493+
"canonicalUrl color currency currencyRaw customAttributes description "
1494+
"descriptionHtml features gtin images mainImage metadata mpn price "
1495+
"productId regularPrice size sku style url variants"
14961496
),
14971497
}
14981498

0 commit comments

Comments
 (0)