Did I find the right examples for you? yes no

All Samples(130)  |  Call(65)  |  Derive(0)  |  Import(65)

src/h/u/hunch-sample-app-HEAD/django/contrib/gis/tests/geoapp/tests.py   hunch-sample-app(Download)
 
if not spatialite:
    from models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/a/p/appscale-HEAD/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py   appscale(Download)
 
if not spatialite:
    from .models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/g/o/google-app-engine-HEAD/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py   google-app-engine(Download)
 
if not spatialite:
    from .models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/d/j/Django-1.6.4/django/contrib/gis/tests/geoapp/tests.py   Django(Download)
 
if HAS_GEOS and not spatialite:
    from .models import Feature, MinusOneSRID
 
 
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/u/p/UP-Manager-0.0.0/django/contrib/gis/tests/geoapp/tests.py   UP-Manager(Download)
 
if HAS_GEOS and not spatialite:
    from .models import Feature, MinusOneSRID
 
 
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/c/l/CleanAdminDjango-1.5.3.1/django/contrib/gis/tests/geoapp/tests.py   CleanAdminDjango(Download)
 
if not spatialite:
    from .models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/d/e/Decode-Django-HEAD/Django-1.5.1/django/contrib/gis/tests/geoapp/tests.py   Decode-Django(Download)
 
if not spatialite:
    from .models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/a/p/appscale-HEAD/AppServer/lib/django-1.4/django/contrib/gis/tests/geoapp/tests.py   appscale(Download)
 
if not spatialite:
    from .models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/a/p/appscale-HEAD/AppServer/lib/django-1.3/django/contrib/gis/tests/geoapp/tests.py   appscale(Download)
 
if not spatialite:
    from models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

src/a/p/appscale-HEAD/AppServer/lib/django-1.2/django/contrib/gis/tests/geoapp/tests.py   appscale(Download)
 
if not spatialite:
    from models import Feature, MinusOneSRID
 
class GeoModelTest(TestCase):
        # SpatiaLite does not support missing SRID values.
        if not spatialite:
            m1 = MinusOneSRID(geom=Point(17, 23, srid=4326))
            m1.save()
            self.assertEqual(-1, m1.geom.srid)

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next