From fa8cefff05d4e80363c518bc5b32838551e87013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 1 Dec 2025 18:41:01 +0100 Subject: [PATCH] Use a random Shopify handle for product in test scenario --- modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst b/modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst index 69505a6bf7..5ca9503f3a 100644 --- a/modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst +++ b/modules/web_shop_shopify/tests/scenario_web_shop_shopify.rst @@ -215,7 +215,7 @@ Create products:: >>> template.type = 'goods' >>> template.salable = True >>> template.web_shop_description = "

Product description

" - >>> template.shopify_handle = 'product-1' + >>> template.shopify_handle = 'product-%s' % random.randint(0, 1000) >>> template.list_price = round(Decimal('9.99') / (1 + tax.rate), 4) >>> template.account_category = account_category >>> template.categories.append(Category(sub_category.id))