Skip to content

Commit

Permalink
feat: fix python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwa2710 committed Sep 23, 2024
1 parent 1c193d1 commit 4282a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bindings/python/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ def aer(azimuth: Angle, elevation: Angle, range: Length) -> LLA:


@pytest.fixture
def trajectory(position: Position) -> Trajectory:
return Trajectory.position(position)
def trajectory(position: Position, instant_1: Instant) -> Trajectory:
return Trajectory.position(position.in_frame(Frame.ITRF(), instant_1))
2 changes: 1 addition & 1 deletion bindings/python/test/flight/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_inertial_pointing(self):
quaternion: Quaternion = Quaternion([0.0, 0.0, 0.0, 1.0], Quaternion.Format.XYZS)

trajectory: Trajectory = Trajectory.position(
Position.meters((0.0, 0.0, 0.0), Frame.GCRF())
Position.meters((0.0, 0.0, 0.0), Frame.ITRF())
)

profile: Profile = Profile.inertial_pointing(trajectory, quaternion)
Expand Down

0 comments on commit 4282a39

Please sign in to comment.