From a7337b2de8c36d90382a403630198807d499fb23 Mon Sep 17 00:00:00 2001 From: luthir <66566607+luthir@users.noreply.github.com> Date: Mon, 19 Dec 2022 09:41:53 +0300 Subject: [PATCH] fix MessageType14 encoding test (#98) Test is fixed to meet introduced variable_length field encoding --- tests/test_encode.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_encode.py b/tests/test_encode.py index 392f132..700acec 100644 --- a/tests/test_encode.py +++ b/tests/test_encode.py @@ -660,11 +660,7 @@ def test_encode_type_15(): def test_encode_type_14(): data = {'mmsi': '351809000', 'repeat': 0, 'text': 'RCVD YR TEST MSG', 'type': 14} actual = encode_dict(data) - expected = [ - '!AIVDO,3,1,0,A,>5?Per18=HB1U:1@E=B0m5?Per18=HB1U:1@E=B0m