Skip to content

Commit

Permalink
fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Wu committed Oct 13, 2024
1 parent 25ee846 commit 3ae3ab3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_astronomy.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pyproj
import pandas as pd
from ecoscope.base import Trajectory
import pyproj

from ecoscope.analysis import astronomy
from ecoscope.base import Trajectory


def test_to_EarthLocation(movebank_relocations):
Expand Down Expand Up @@ -36,8 +37,8 @@ def test_daynight_ratio(movebank_relocations):
trajectory = Trajectory.from_relocations(movebank_relocations)
expected = pd.Series(
[
2.212816,
0.656435,
0.451912,
1.523379,
],
index=pd.Index(["Habiba", "Salif Keita"], name="groupby_col"),
)
Expand Down

0 comments on commit 3ae3ab3

Please sign in to comment.