Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit 3d90cce

Browse files
Joonalain0rdlicht
authored andcommitted
Fix tests
1 parent 6f52129 commit 3d90cce

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

SpatialDataPackageExport/test/data/snapshots/gratuated_poly.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@
99
"topic": "GEMEINDESCAN TOPIC"
1010
},
1111
"format": "geojson",
12-
"licenses": [
13-
{
14-
"url": "https://opendatacommons.org/licenses/by/1.0/",
15-
"type": "ODC-By-1.0",
16-
"title": "Open Data Commons Attribution License"
17-
}
18-
],
12+
"licenses": [],
1913
"keywords": [
2014
"KEYWORD 1",
2115
"KEYWORD 2"

SpatialDataPackageExport/test/test_datapackage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def test_categorized_poly(new_project, categorized_poly, layer_empty_poly, odc_1
6666
expected_snapshot_dict = get_test_json('snapshots', 'categorized_poly_custom_config.json')
6767
assert snapshot.to_dict() == expected_snapshot_dict
6868

69+
6970
def test_gratuated_poly(new_project, gratuated_poly, layer_empty_poly, monkeypatch):
7071
# Mock get_project_author
7172
monkeypatch.setattr(DataPackageHandler, 'get_project_author', mock_auth)
@@ -97,6 +98,7 @@ def test_gratuated_poly(new_project, gratuated_poly, layer_empty_poly, monkeypat
9798

9899
assert snapshot.to_dict() == expected_snapshot_dict
99100

101+
100102
def test_points_with_radius(new_project, points_with_radius, layer_empty_points, monkeypatch):
101103
# Mock get_project_author
102104
monkeypatch.setattr(DataPackageHandler, 'get_project_author', mock_auth)

0 commit comments

Comments
 (0)