Skip to content

Commit

Permalink
Expand test to include rasl
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Feb 1, 2024
1 parent d9daddd commit e05614d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kadi/commands/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,12 +578,12 @@ def test_nsm_offset_pitch_rasl_command_events(stop_date_2024_01_30): # noqa: AR

# Now get commands in a time range that includes the new command events
cmds = commands_v2.get_cmds(
"2024-01-24 12:00:00", "2024-01-25 02:00:00", scenario=scenario
"2024-01-24 12:00:00", "2024-01-25 05:00:00", scenario=scenario
)
cmds = cmds[(cmds["tlmsid"] != "OBS") & (cmds["type"] != "ORBPOINT")]
exp = [
"2024:025:00:00:00.000 | LOAD_EVENT | SUN_PITCH | CMD_EVT |"
" event=Maneuver_sun_pitch, event_date=2024:025:00:00:00, pitch=160, scs=0"
"2024:025:00:00:00.000 | LOAD_EVENT | SUN_PITCH | CMD_EVT | event=Maneuver_sun_pitch, event_date=2024:025:00:00:00, pitch=160, scs=0",
"2024:025:04:00:00.000 | LOAD_EVENT | SUN_RASL | CMD_EVT | event=Maneuver_sun_rasl, event_date=2024:025:04:00:00, rasl=90, scs=0",
]

assert cmds.pformat_like_backstop() == exp
Expand Down

0 comments on commit e05614d

Please sign in to comment.