Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use fixture instead of django.conf settings
Pacu2bcfef2b8196c
diff --git a/templates/_language_picker.html b/templates/_language_picker.htmlindex f95e8aead4..3ca42be259 100644--- a/templates/_language_picker.html+++ b/templates/_language_picker.html@@ -1,5 +1,4 @@{% load i18n %}-{% load translate_url from urls %}<li><div class="dropdown show">diff --git a/tests/test_account.py b/tests/test_account.pyindex 9250e0d073..b93fa51300 100644--- a/tests/test_account.py+++ b/tests/test_account.py@@ -2,7 +2,6 @@ from urllib.parse import urlencodeimport i18naddressimport pytest-from django.conf import settingsfrom django.core.exceptions import ValidationErrorfrom django.http import QueryDictfrom django.template import Context, Template@@ -114,7 +113,7 @@ def test_validate_possible_number(input, exception):validate_possible_number(input)-def test_order_with_lines_pagination(admin_client, order_list):+def test_order_with_lines_pagination(admin_client, order_list, settings):settings.PAGINATE_BY = 1data = {'page': '1'}url = reverse('account:details')