def setup_class(cls):
        SpatialTestBase.setup_class()

        # Start simple HTTP server that serves XML test files
        if not cls.serving:
            serve()
            cls.serving = True
Beispiel #2
0
    def setup_class(cls):
        SpatialTestBase.setup_class()

        # Start simple HTTP server that serves XML test files
        if not cls.serving:
            serve()
            cls.serving = True
 def setup_class(cls):
     SpatialTestBase.setup_class()
     for fixture_x in cls.fixtures_x:
         bbox = cls.x_values_to_bbox(fixture_x)
         bbox_geojson = bbox_2_geojson(bbox)
         cls.create_package(name=munge_title_to_name(str(fixture_x)),
                            title=str(fixture_x),
                            extras=[{'key': 'spatial',
                                     'value': bbox_geojson}])
Beispiel #4
0
 def setup_class(cls):
     SpatialTestBase.setup_class()
     for fixture_x in cls.fixtures_x:
         bbox = cls.x_values_to_bbox(fixture_x)
         bbox_geojson = bbox_2_geojson(bbox)
         cls.create_package(name=munge_title_to_name(str(fixture_x)),
                            title=str(fixture_x),
                            extras=[{'key': 'spatial',
                                     'value': bbox_geojson}])
Beispiel #5
0
 def setup_class(cls):
     SpatialTestBase.setup_class()
 def setup_class(cls):
     SpatialTestBase.setup_class()
     cls.extra_environ = {"REMOTE_USER": "******"}
 def setup_class(cls):
     SpatialTestBase.setup_class()
     cls.extra_environ = {'REMOTE_USER': '******'}
Beispiel #8
0
 def setup_class(cls):
     SpatialTestBase.setup_class()