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
80bf3135
Kaydet (Commit)
80bf3135
authored
May 08, 2016
tarafından
Jarek Glowacki
Kaydeden (comit)
Markus Holtermann
May 08, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Sorted migration list order in test; added trailing comma.
üst
c8df17b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test_loader.py
tests/migrations/test_loader.py
+5
-5
No files found.
tests/migrations/test_loader.py
Dosyayı görüntüle @
80bf3135
...
...
@@ -301,10 +301,10 @@ class LoaderTests(TestCase):
plan
=
set
(
loader
.
graph
.
forwards_plan
((
'app1'
,
'4_auto'
)))
expected_plan
=
{
(
'app1'
,
'4_auto'
),
(
'app1'
,
'2_squashed_3'
),
(
'app1'
,
'1_auto'
),
(
'app2'
,
'1_squashed_2'
),
(
'app1'
,
'1_auto'
)
(
'app1'
,
'2_squashed_3'
),
(
'app1'
,
'4_auto'
),
}
self
.
assertEqual
(
plan
,
expected_plan
)
...
...
@@ -326,9 +326,9 @@ class LoaderTests(TestCase):
plan
=
set
(
loader
.
graph
.
forwards_plan
((
'app1'
,
'4_auto'
)))
plan
=
plan
-
loader
.
applied_migrations
expected_plan
=
{
(
'app1'
,
'4_auto'
),
(
'app1'
,
'3_auto'
),
(
'app2'
,
'1_squashed_2'
),
(
'app1'
,
'3_auto'
),
(
'app1'
,
'4_auto'
),
}
self
.
assertEqual
(
plan
,
expected_plan
)
...
...
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