Skip to content

Commit

Permalink
Add all test case relevant to the function
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjhross committed Mar 13, 2024
1 parent ca77e85 commit d641bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/parsing/test_full_telemetry_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def invalid_packet_header() -> PacketHeader:
# Tests


# Test a valid header
# Test valid header
def test_is_valid_hdr(valid_packet_header: PacketHeader, approved_callsigns: dict[str, str]) -> None:
assert is_valid_packet_header(valid_packet_header, approved_callsigns)

Expand All @@ -61,6 +61,6 @@ def test_is_invalid_hdr2(version_num_zero: PacketHeader, approved_callsigns: dic
assert not (is_valid_packet_header(version_num_zero, approved_callsigns))


# Test inalid header: non approved callsign and incorrect version number
# Test invalid header: non approved callsign and incorrect version number
def test_is_invalid_hdr3(invalid_packet_header: PacketHeader, approved_callsigns: dict[str, str]) -> None:
assert not (is_valid_packet_header(invalid_packet_header, approved_callsigns))

0 comments on commit d641bb8

Please sign in to comment.