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
ef906b16
Kaydet (Commit)
ef906b16
authored
Haz 09, 2012
tarafından
Claude Paroz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed test of connection features before setting up databases
üst
ad47364d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tests.py
tests/regressiontests/test_runner/tests.py
+1
-2
No files found.
tests/regressiontests/test_runner/tests.py
Dosyayı görüntüle @
ef906b16
...
...
@@ -251,11 +251,10 @@ class Sqlite3InMemoryTestDbs(unittest.TestCase):
},
})
other
=
db
.
connections
[
'other'
]
self
.
assertIsNone
(
other
.
features
.
supports_transactions
)
DjangoTestSuiteRunner
(
verbosity
=
0
)
.
setup_databases
()
msg
=
"DATABASES setting '
%
s' option set to sqlite3's ':memory:' value shouldn't interfere with transaction support detection."
%
option
# Transaction support should be properly initialised for the 'other' DB
self
.
assert
IsNotNon
e
(
other
.
features
.
supports_transactions
,
msg
)
self
.
assert
Tru
e
(
other
.
features
.
supports_transactions
,
msg
)
# And all the DBs should report that they support transactions
self
.
assertTrue
(
connections_support_transactions
(),
msg
)
finally
:
...
...
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