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
3810dc30
Kaydet (Commit)
3810dc30
authored
Nis 06, 2013
tarafından
Preston Timmons
Kaydeden (comit)
Carl Meyer
Nis 12, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Modified template_tests for unittest2 discovery.
üst
44293c5c
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
11 additions
and
11 deletions
+11
-11
test_callables.py
tests/template_tests/test_callables.py
+0
-0
test_context.py
tests/template_tests/test_context.py
+0
-0
test_custom.py
tests/template_tests/test_custom.py
+0
-0
test_loaders.py
tests/template_tests/test_loaders.py
+0
-0
test_nodelist.py
tests/template_tests/test_nodelist.py
+0
-0
test_parser.py
tests/template_tests/test_parser.py
+0
-0
test_response.py
tests/template_tests/test_response.py
+2
-2
test_smartif.py
tests/template_tests/test_smartif.py
+0
-0
test_unicode.py
tests/template_tests/test_unicode.py
+0
-0
tests.py
tests/template_tests/tests.py
+9
-9
No files found.
tests/template_tests/callables.py
→
tests/template_tests/
test_
callables.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/context.py
→
tests/template_tests/
test_
context.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/custom.py
→
tests/template_tests/
test_
custom.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/loaders.py
→
tests/template_tests/
test_
loaders.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/nodelist.py
→
tests/template_tests/
test_
nodelist.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/parser.py
→
tests/template_tests/
test_
parser.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/response.py
→
tests/template_tests/
test_
response.py
Dosyayı görüntüle @
3810dc30
...
...
@@ -15,7 +15,7 @@ from django.utils._os import upath
def
test_processor
(
request
):
return
{
'processors'
:
'yes'
}
test_processor_name
=
'template_tests.response.test_processor'
test_processor_name
=
'template_tests.
test_
response.test_processor'
# A test middleware that installs a temporary URLConf
...
...
@@ -303,7 +303,7 @@ class CustomURLConfTest(TestCase):
def
setUp
(
self
):
self
.
old_MIDDLEWARE_CLASSES
=
settings
.
MIDDLEWARE_CLASSES
settings
.
MIDDLEWARE_CLASSES
=
list
(
settings
.
MIDDLEWARE_CLASSES
)
+
[
'template_tests.response.CustomURLConfMiddleware'
'template_tests.
test_
response.CustomURLConfMiddleware'
]
def
tearDown
(
self
):
...
...
tests/template_tests/smartif.py
→
tests/template_tests/
test_
smartif.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/unicode.py
→
tests/template_tests/
test_
unicode.py
Dosyayı görüntüle @
3810dc30
File moved
tests/template_tests/tests.py
Dosyayı görüntüle @
3810dc30
...
...
@@ -36,18 +36,18 @@ from django.utils.safestring import mark_safe
from
django.utils
import
six
from
django.utils.tzinfo
import
LocalTimezone
from
.callables
import
CallableVariablesTests
from
.context
import
ContextTests
from
.custom
import
CustomTagTests
,
CustomFilterTests
from
.parser
import
ParserTests
from
.unicode
import
UnicodeTests
from
.nodelist
import
NodelistTest
,
ErrorIndexTest
from
.smartif
import
SmartIfTests
from
.response
import
(
TemplateResponseTest
,
CacheMiddlewareTest
,
from
.
test_
callables
import
CallableVariablesTests
from
.
test_
context
import
ContextTests
from
.
test_
custom
import
CustomTagTests
,
CustomFilterTests
from
.
test_
parser
import
ParserTests
from
.
test_
unicode
import
UnicodeTests
from
.
test_
nodelist
import
NodelistTest
,
ErrorIndexTest
from
.
test_
smartif
import
SmartIfTests
from
.
test_
response
import
(
TemplateResponseTest
,
CacheMiddlewareTest
,
SimpleTemplateResponseTest
,
CustomURLConfTest
)
try
:
from
.loaders
import
RenderToStringTest
,
EggLoaderTest
from
.
test_
loaders
import
RenderToStringTest
,
EggLoaderTest
except
ImportError
as
e
:
if
"pkg_resources"
in
e
.
args
[
0
]:
pass
# If setuptools isn't installed, that's fine. Just move on.
...
...
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