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
84f97416
Kaydet (Commit)
84f97416
authored
Eki 05, 2012
tarafından
Justin Bronn
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed GMLv3 output test failure on PostGIS versions < 1.5.
üst
5a64bd38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tests.py
django/contrib/gis/tests/geoapp/tests.py
+4
-2
No files found.
django/contrib/gis/tests/geoapp/tests.py
Dosyayı görüntüle @
84f97416
...
...
@@ -529,8 +529,10 @@ class GeoQuerySetTest(TestCase):
for
ptown
in
[
ptown1
,
ptown2
]:
self
.
assertTrue
(
gml_regex
.
match
(
ptown
.
gml
))
if
postgis
:
self
.
assertIn
(
'<gml:pos srsDimension="2">'
,
City
.
objects
.
gml
(
version
=
3
)
.
get
(
name
=
'Pueblo'
)
.
gml
)
# PostGIS < 1.5 doesn't include dimension im GMLv3 output.
if
postgis
and
connection
.
ops
.
spatial_version
>=
(
1
,
5
,
0
):
self
.
assertIn
(
'<gml:pos srsDimension="2">'
,
City
.
objects
.
gml
(
version
=
3
)
.
get
(
name
=
'Pueblo'
)
.
gml
)
def
test_kml
(
self
):
"Testing KML output from the database using GeoQuerySet.kml()."
...
...
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