Skip to content
Success

Changes

Summary

  1. global_platform: ensure ArgumentParser gets a list for choices (details)
  2. pySim.ts_31_102: Add support for EF.EARFCNList (details)
  3. pySim-shell_test/utils: delete log files in general (details)
  4. pySim-shell_test/utils: enumerate pySim-shell logs (details)
  5. pySim-shell_test/utils: display pySim-shell logfile content (details)
Commit ba22e238f3fe88d384502181e2422789b46c1f94 by pmaier@sysmocom.de
global_platform: ensure ArgumentParser gets a list for choices

When we use the argument parser with choices, we sometimes use a
list that we derive from a dictionary. However if we do that we
still must ensure that we really put a list and not a dict_values
or dict_keys class as parameter because this won't work any longer
with cmd2 version 2.5.0

Related: OS#6601
Change-Id: I165fefd8feb0d96cedc15d036fb32da381f711b3
The file was modifiedpySim/global_platform/__init__.py
Commit 12328c090d60359ded0817288f654d864ac52525 by pmaier@sysmocom.de
pySim.ts_31_102: Add support for EF.EARFCNList

This adds a construct + pyosmocore.tlv based declarative encoder/decoder
for the EF.EARFCNList file used in the context of NB-IoT in later
release USIMs.

Change-Id: I16797ca58c3ad6ebaf588d04fec011a0cbcfcef3
The file was modifiedtests/pySim-shell_test/export/export.script.ok
The file was modifiedtests/pySim-shell_test/file_specific/test_ef_ust.ok
The file was modifiedtests/pySim-shell_test/fsdump/fsdump.json.ok
The file was modifiedpySim/ts_31_102.py
Commit d8d52bdf77209eb392875d71b0713c233360d740 by laforge
pySim-shell_test/utils: delete log files in general

When we get rid of temporary files, we delete those using a wildcard,
but for the logs from pySim-shell we explicitly memorize the name
of the pySim-shell logfile and delete it later by this explicit
name. This is not necessary, let's just delete all log files present
using a wildcard.

Related: OS#6601
Change-Id: I09dc7e59d1a3dcb68f54e3a8dccb86a1bc6c9ee6
The file was modifiedtests/pySim-shell_test/utils.py
Commit 32d6a9ab5fab4407c0d4aca72b2e41496ffe56a5 by laforge
pySim-shell_test/utils: enumerate pySim-shell logs

When pySim-shell is called by a testcase, a logfile is createted. The logfile
filename contains the testcase name. However, a testcase may run pySim-shell
multiple times. In this case we overwrite the log from previous run. Let's use a
counter to generate unique file names for each run, so that we won't lose logs
from previous runs.

Related: OS#6601
Change-Id: Ib2195d9b2231f74d0a6c4fb28f4889b6c45efb1e
The file was modifiedtests/pySim-shell_test/utils.py
Commit 98f4ea1447567e16c250161d42ab4e2d35534371 by laforge
pySim-shell_test/utils: display pySim-shell logfile content

When we configure the tests to display file content, we only display files that
we compare, let's also display log file contents from pySim-shell. This will
be useful in situations where we only have log output from the tests, but no
access to the file system of the test host.

Related: OS#6601
Change-Id: Ibf6f78d7e71c213c7ca1caaf21c4c890e892261e
The file was modifiedtests/pySim-shell_test/utils.py