This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/24108 ) Change subject: trx_toolkit/test_codec.py: add missing sub-test with key=0x88 ...................................................................... trx_toolkit/test_codec.py: add missing sub-test with key=0x88 Change-Id: If8e2ebedc48fecc4c54c71e40cadb0f3273602c5 --- M src/target/trx_toolkit/test_codec.py 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/08/24108/1 diff --git a/src/target/trx_toolkit/test_codec.py b/src/target/trx_toolkit/test_codec.py index e0649d8..ca2f773 100644 --- a/src/target/trx_toolkit/test_codec.py +++ b/src/target/trx_toolkit/test_codec.py @@ -54,6 +54,10 @@ field = TestField('magic') self.assertEqual(field.to_bytes(vals), encoded_de) + with self.subTest('default length=4, different key=0x88'): + field = TestField('magic', key=0x88) + self.assertEqual(field.to_bytes(vals), encoded_88) + with self.subTest('different length=2, default key=0xde'): field = TestField('magic', len=2) vals['magic'] = vals['magic'][:2] -- To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/24108 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Change-Id: If8e2ebedc48fecc4c54c71e40cadb0f3273602c5 Gerrit-Change-Number: 24108 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210503/b9fdfdd3/attachment.htm>