Skip to content

Commit

Permalink
Changed the name of the test into one that is more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan-789 committed Apr 6, 2024
1 parent 029ffe1 commit 9dc21c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/telemetry/telemetry_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def parse_rn2483_transmission(data: str, config: Config) -> Optional[ParsedTrans


def is_approved_packet_header(pkt_hdr: PacketHeader, approved_callsigns: dict[str, str]) -> None:
"""Validates the packet header"""
"""Checks whether the call sign is recognized"""

# Ensure packet is from an approved call sign
if pkt_hdr.callsign in approved_callsigns:
Expand Down
2 changes: 1 addition & 1 deletion tests/parsing/test_full_telemetry_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def invalid_packet_header() -> PacketHeader:


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


Expand Down

0 comments on commit 9dc21c1

Please sign in to comment.