Esempio n. 1
0
 def test_get_col_spec(self):
     from geoalchemy2 import Geography
     g = Geography(srid=900913)
     eq_(g.get_col_spec(), 'geography(GEOMETRY,900913)')
Esempio n. 2
0
 def test_get_col_spec(self):
     g = Geography(srid=900913)
     assert g.get_col_spec() == 'geography(GEOMETRY,900913)'
Esempio n. 3
0
 def test_get_col_spec(self):
     g = Geography(srid=900913)
     assert g.get_col_spec() == 'geography(GEOMETRY,900913)'
Esempio n. 4
0
 def test_get_col_spec_no_typmod(self):
     g = Geography(geometry_type=None)
     assert g.get_col_spec() == 'geography'
Esempio n. 5
0
 def test_get_col_spec(self):
     from geoalchemy2 import Geography
     g = Geography(srid=900913)
     eq_(g.get_col_spec(), 'geography(GEOMETRY,900913)')
Esempio n. 6
0
 def test_get_col_spec_no_typmod(self):
     g = Geography(geometry_type=None)
     assert g.get_col_spec() == 'geography'