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()
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()