Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix static path in test
Marcin Gębaladb5159e64c54
diff --git a/tests/test_product_tags.py b/tests/test_product_tags.pyindex f507321090..bbb84e4d25 100644--- a/tests/test_product_tags.py+++ b/tests/test_product_tags.py@@ -1,5 +1,7 @@from mock import Mock-from saleor.product.templatetags.product_images import get_thumbnail, product_first_image+from django.templatetags.static import static+from saleor.product.templatetags.product_images import (+ get_thumbnail, product_first_image)def test_get_thumbnail():@@ -16,7 +18,7 @@ def test_get_thumbnail():def test_get_thumbnail_no_instance():output = get_thumbnail(instance=None, size='10x10', method='crop')- assert output == '/static/images/product-image-placeholder.png'+ assert output == static('/images/product-image-placeholder.png')def test_product_first_image():