Exemple #1
0
 def test_external_layer_creation(self):
     layer = Layer()
     layer.name = 'test'
     layer.slug = 'test'
     layer.description = 'test'
     layer.is_external = True
     layer.organization = 'test'
     layer.area = Point(8.96166, 44.4185)
     layer.full_clean()
     layer.save()
Exemple #2
0
 def test_external_layer_creation(self):
     layer = Layer()
     layer.name = 'test'
     layer.slug = 'test'
     layer.description = 'test'
     layer.is_external = True
     layer.organization = 'test'
     layer.area = Point(8.96166, 44.4185)
     layer.full_clean()
     layer.save()
Exemple #3
0
 def test_external_layer_creation(self):
     layer = Layer()
     layer.name = 'test'
     layer.slug = 'test'
     layer.description = 'test'
     layer.is_external = True
     layer.organization = 'test'
     layer.center = Point(8.96166, 44.4185)
     layer.full_clean()
     layer.save()
     
     external = LayerExternal(layer=layer)
     external.interoperability = 'None'
     external.config = ''
     external.full_clean()
     external.save()
Exemple #4
0
    def test_external_layer_creation(self):
        layer = Layer()
        layer.name = 'test'
        layer.slug = 'test'
        layer.description = 'test'
        layer.is_external = True
        layer.organization = 'test'
        layer.center = Point(8.96166, 44.4185)
        layer.full_clean()
        layer.save()

        external = LayerExternal(layer=layer)
        external.interoperability = 'None'
        external.config = ''
        external.full_clean()
        external.save()