Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
da85c8cf
Kaydet (Commit)
da85c8cf
authored
May 05, 2013
tarafından
Florian Apolloner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed a regression introduced in
9f7a01ef
.
üst
f3b3c569
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test_i18n.py
tests/view_tests/tests/test_i18n.py
+2
-1
No files found.
tests/view_tests/tests/test_i18n.py
Dosyayı görüntüle @
da85c8cf
...
@@ -217,5 +217,6 @@ class JavascriptI18nTests(LiveServerTestCase):
...
@@ -217,5 +217,6 @@ class JavascriptI18nTests(LiveServerTestCase):
def
test_escaping
(
self
):
def
test_escaping
(
self
):
extended_apps
=
list
(
settings
.
INSTALLED_APPS
)
+
[
'view_tests'
]
extended_apps
=
list
(
settings
.
INSTALLED_APPS
)
+
[
'view_tests'
]
with
self
.
settings
(
INSTALLED_APPS
=
extended_apps
):
with
self
.
settings
(
INSTALLED_APPS
=
extended_apps
):
response
=
self
.
client
.
get
(
'
%
s
%
s'
%
(
self
.
live_server_url
,
'/jsi18n_admin/'
))
# Force a language via GET otherwise the gettext functions are a noop!
response
=
self
.
client
.
get
(
'/jsi18n_admin/?language=de'
)
self
.
assertContains
(
response
,
'
\\
x04'
)
self
.
assertContains
(
response
,
'
\\
x04'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment