Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic packet #140

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FIX: Line too long in tests
greglucas committed Mar 8, 2025

Verified

This commit was signed with the committer’s verified signature.
greglucas Greg Lucas
commit 67b9156585fd8b1ebbd2276cdea97bf642746aa4
4 changes: 3 additions & 1 deletion tests/unit/test_xtce/test_definitions.py
Original file line number Diff line number Diff line change
@@ -515,7 +515,9 @@ def test_parse_methods(test_data_dir):
xdef = definitions.XtcePacketDefinition.from_xtce(test_data_dir / "test_xtce.xml")

# Test parsing a packet
empty_packet_data = packets.create_ccsds_packet(data=bytes(80), apid=11, sequence_flags=packets.SequenceFlags.UNSEGMENTED)
empty_packet_data = packets.create_ccsds_packet(data=bytes(80),
apid=11,
sequence_flags=packets.SequenceFlags.UNSEGMENTED)

# Full packet object with a RawPacketData reader
empty_packet = packets.Packet(raw_data=packets.RawPacketData(empty_packet_data))