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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/23330 ) Change subject: tests/test_utils.py: update expectations for format_xplmn_w_act() ...................................................................... tests/test_utils.py: update expectations for format_xplmn_w_act() Change-Id: I520328e3490cc3a333d2daad84e745d115196626 --- M tests/test_utils.py 1 file changed, 10 insertions(+), 11 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/tests/test_utils.py b/tests/test_utils.py index 0df205a..bcf6140 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -69,17 +69,16 @@ def testFormatxPlmn_w_act(self): input_str = "92f501800092f5508000ffffff0000ffffff0000ffffff0000ffffff0000ffffff0000ffffff0000ffffff0000ffffff0000" - expected = '''92f5018000 # MCC: 295 MNC: 10 AcT: UTRAN -92f5508000 # MCC: 295 MNC: 5 AcT: UTRAN -ffffff0000 # unused -ffffff0000 # unused -ffffff0000 # unused -ffffff0000 # unused -ffffff0000 # unused -ffffff0000 # unused -ffffff0000 # unused -ffffff0000 # unused -''' + expected = "\t92f5018000 # MCC: 295 MNC: 010 AcT: UTRAN\n" + expected += "\t92f5508000 # MCC: 295 MNC: 005 AcT: UTRAN\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" + expected += "\tffffff0000 # unused\n" self.assertEqual(utils.format_xplmn_w_act(input_str), expected) if __name__ == "__main__": -- To view, visit https://gerrit.osmocom.org/c/pysim/+/23330 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I520328e3490cc3a333d2daad84e745d115196626 Gerrit-Change-Number: 23330 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210312/cbc720bf/attachment.htm>