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
f6939666
Kaydet (Commit)
f6939666
authored
Nis 08, 2013
tarafından
Baptiste Mispelon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix admin_views tests after commit
3be368c7
.
üst
161c4da5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
tests.py
tests/admin_views/tests.py
+8
-8
No files found.
tests/admin_views/tests.py
Dosyayı görüntüle @
f6939666
...
...
@@ -2628,7 +2628,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self
.
assertContains
(
response
,
'<li class="
info
">The cover letter "Candidate, Best" was added successfully.</li>'
,
'<li class="
success
">The cover letter "Candidate, Best" was added successfully.</li>'
,
html
=
True
)
...
...
@@ -2646,7 +2646,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self
.
assertContains
(
response
,
'<li class="
info
">The short message "ShortMessage object" was added successfully.</li>'
,
'<li class="
success
">The short message "ShortMessage object" was added successfully.</li>'
,
html
=
True
)
...
...
@@ -2667,7 +2667,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self
.
assertContains
(
response
,
'<li class="
info
">The telegram "Urgent telegram" was added successfully.</li>'
,
'<li class="
success
">The telegram "Urgent telegram" was added successfully.</li>'
,
html
=
True
)
...
...
@@ -2685,7 +2685,7 @@ class AdminCustomQuerysetTest(TestCase):
# Message should contain non-ugly model verbose name
self
.
assertContains
(
response
,
'<li class="
info
">The paper "Paper object" was added successfully.</li>'
,
'<li class="
success
">The paper "Paper object" was added successfully.</li>'
,
html
=
True
)
...
...
@@ -2710,7 +2710,7 @@ class AdminCustomQuerysetTest(TestCase):
# representation is set by model's __unicode__()
self
.
assertContains
(
response
,
'<li class="
info
">The cover letter "John Doe II" was changed successfully.</li>'
,
'<li class="
success
">The cover letter "John Doe II" was changed successfully.</li>'
,
html
=
True
)
...
...
@@ -2732,7 +2732,7 @@ class AdminCustomQuerysetTest(TestCase):
# instance representation is set by six.text_type()
self
.
assertContains
(
response
,
'<li class="
info
">The short message "ShortMessage_Deferred_timestamp object" was changed successfully.</li>'
,
'<li class="
success
">The short message "ShortMessage_Deferred_timestamp object" was changed successfully.</li>'
,
html
=
True
)
...
...
@@ -2757,7 +2757,7 @@ class AdminCustomQuerysetTest(TestCase):
# representation is set by model's __unicode__()
self
.
assertContains
(
response
,
'<li class="
info
">The telegram "Telegram without typo" was changed successfully.</li>'
,
'<li class="
success
">The telegram "Telegram without typo" was changed successfully.</li>'
,
html
=
True
)
...
...
@@ -2779,7 +2779,7 @@ class AdminCustomQuerysetTest(TestCase):
# instance representation is set by six.text_type()
self
.
assertContains
(
response
,
'<li class="
info
">The paper "Paper_Deferred_author object" was changed successfully.</li>'
,
'<li class="
success
">The paper "Paper_Deferred_author object" was changed successfully.</li>'
,
html
=
True
)
...
...
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