Skip to content

Commit

Permalink
Refactor geometry_empty tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kad-korpem committed Dec 3, 2024
1 parent 39401ab commit a9661c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/validations/test_geometry_empty_check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from geopackage_validator.utils import open_dataset
from geopackage_validator.validations.geometry_empty_check import (
EmptyGeometryValidator
EmptyGeometryValidator,
)


Expand Down
1 change: 1 addition & 0 deletions tests/validations/test_geometry_valid_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def test_with_gpkg_valid_simple():
assert checks[0][3] == 1
assert checks[0][4] == 1


def test_with_gpkg_empty():
# geometries that are empty are still considered valid
dataset = open_dataset("tests/data/test_geometry_empty.gpkg")
Expand Down

0 comments on commit a9661c2

Please sign in to comment.