Skip to content

Commit

Permalink
Remove unnecessary test case
Browse files Browse the repository at this point in the history
Ref: #964
  • Loading branch information
rssen committed May 5, 2022
1 parent 143d1cc commit 49932df
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/unit/pyrflx_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,20 +1518,6 @@ def test_low_order(low_order_package: Package) -> None:
assert m1.bytestring == b"\x01\x00"


def test_aggregate_in_relation_invalid(aggregate_in_relation_package: Package) -> None:
msg = aggregate_in_relation_package.new_message("Aggregate_In_Relation_Msg")
with pytest.raises(
PyRFLXError,
match=(
"^"
"pyrflx: error: Bitstring representing the message is too short"
" - stopped while parsing field: Fld_B"
"$"
),
):
msg.parse(b"\xAA\xAA")


def test_aggregate_in_relation_valid(aggregate_in_relation_package: Package) -> None:
msg = aggregate_in_relation_package.new_message("Aggregate_In_Relation_Msg")
msg.parse(b"\xAA\xAA\xBB\xCC\xCC\xDD")
Expand Down

0 comments on commit 49932df

Please sign in to comment.