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
580e9d00
Kaydet (Commit)
580e9d00
authored
Kas 17, 2014
tarafından
Julien Phalip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed a test to correctly calculate a fixture's relative path.
üst
fab26cf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests.py
tests/fixtures_regress/tests.py
+1
-1
No files found.
tests/fixtures_regress/tests.py
Dosyayı görüntüle @
580e9d00
...
...
@@ -898,7 +898,7 @@ class TestLoadFixtureFromOtherAppDirectory(TestCase):
# fixtures_regress depending on how runtests.py is invoked.
# All path separators must be / in order to be a proper regression test on
# Windows, so replace as appropriate.
relative_prefix
=
current_dir
.
replace
(
os
.
getcwd
(),
''
,
1
)[
1
:]
.
replace
(
'
\\
'
,
'/'
)
relative_prefix
=
os
.
path
.
relpath
(
current_dir
,
os
.
getcwd
())
.
replace
(
'
\\
'
,
'/'
)
fixtures
=
[
relative_prefix
+
'/fixtures/absolute.json'
]
def
test_fixtures_loaded
(
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