Skip to content

Commit

Permalink
EditTests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderJuestel committed Nov 27, 2023
1 parent 9c91073 commit a8f25fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gemgis/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7007,6 +7007,9 @@ def calculate_orientations_from_strike_lines(gdf: gpd.geodataframe.GeoDataFrame)
.. versionadded:: 1.0.x
.. versionchanged:: 1.1.7
Fixing indexing issue.
Example
_______
Expand Down
3 changes: 2 additions & 1 deletion tests/test_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -5427,11 +5427,12 @@ def test_load_gpx():
###########################################################
def test_load_gpx_as_dict():
from gemgis.vector import load_gpx_as_dict
import fiona

gpx = load_gpx_as_dict(path='../docs/getting_started/tutorial/data/test_vector/Run.gpx',
layer='tracks')

assert isinstance(gpx, dict)
assert isinstance(gpx, fiona.model.Feature)


# Testing load_gpx
Expand Down

0 comments on commit a8f25fb

Please sign in to comment.