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
dc119308
Kaydet (Commit)
dc119308
authored
Ock 12, 2017
tarafından
Simon Charette
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made contenttypes and auth apps unavailable when not necessary in tests.
üst
973cfd2e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
13 deletions
+2
-13
tests.py
tests/contenttypes_tests/tests.py
+0
-1
tests.py
tests/fixtures/tests.py
+0
-2
tests.py
tests/fixtures_regress/tests.py
+1
-5
test_operations.py
tests/migrations/test_operations.py
+1
-5
No files found.
tests/contenttypes_tests/tests.py
Dosyayı görüntüle @
dc119308
...
...
@@ -480,7 +480,6 @@ class ContentTypeOperationsTests(TransactionTestCase):
available_apps
=
[
'contenttypes_tests'
,
'django.contrib.contenttypes'
,
'django.contrib.auth'
,
]
def
setUp
(
self
):
...
...
tests/fixtures/tests.py
Dosyayı görüntüle @
dc119308
...
...
@@ -714,8 +714,6 @@ class FixtureTransactionTests(DumpDataAssertMixin, TransactionTestCase):
available_apps
=
[
'fixtures'
,
'django.contrib.contenttypes'
,
'django.contrib.auth'
,
'django.contrib.sites'
,
]
...
...
tests/fixtures_regress/tests.py
Dosyayı görüntüle @
dc119308
...
...
@@ -888,11 +888,7 @@ class M2MNaturalKeyFixtureTests(TestCase):
class
TestTicket11101
(
TransactionTestCase
):
available_apps
=
[
'fixtures_regress'
,
'django.contrib.auth'
,
'django.contrib.contenttypes'
,
]
available_apps
=
[
'fixtures_regress'
]
@skipUnlessDBFeature
(
'supports_transactions'
)
def
test_ticket_11101
(
self
):
...
...
tests/migrations/test_operations.py
Dosyayı görüntüle @
dc119308
...
...
@@ -2344,11 +2344,7 @@ class SwappableOperationTests(OperationTestBase):
is in a common base class anyway)
"""
available_apps
=
[
"migrations"
,
"django.contrib.auth"
,
"django.contrib.contenttypes"
,
]
available_apps
=
[
'migrations'
]
@override_settings
(
TEST_SWAP_MODEL
=
"migrations.SomeFakeModel"
)
def
test_create_ignore_swapped
(
self
):
...
...
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