summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2018-07-19 22:44:40 +0200
committerTim Graham <timograham@gmail.com>2018-07-19 16:44:40 -0400
commit0adfba968e28cfb4e4d681e658866debbbd68089 (patch)
tree929348b9e9b562b45deb0c8b7b748259f5e74471 /tests/admin_views
parent6b6bdfe25c946ee9512b3866d64930fe1be619fd (diff)
Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
Thanks Sassan Haradji for the report.
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/test_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/test_actions.py b/tests/admin_views/test_actions.py
index c0ea30fcf7..1069f4a157 100644
--- a/tests/admin_views/test_actions.py
+++ b/tests/admin_views/test_actions.py
@@ -72,7 +72,7 @@ class AdminActionsTest(TestCase):
self.assertContains(response, 'Are you sure you want to delete the selected subscribers?')
self.assertContains(response, '<ul></ul>', html=True)
- @override_settings(USE_THOUSAND_SEPARATOR=True, USE_L10N=True)
+ @override_settings(USE_THOUSAND_SEPARATOR=True, USE_L10N=True, NUMBER_GROUPING=3)
def test_non_localized_pk(self):
"""
If USE_THOUSAND_SEPARATOR is set, the ids for the objects selected for