Skip to content

Changes

Started by upstream project gerrit-pysim #2783
Started 13 hr ago
Queued 7.8 sec

Summary

  1. tests/pySim-smpp2sim_test: add integration test (details)
Commit 27d0d666dcbdf1022e1f021f86365c888fdc8f7f by pmaier@sysmocom.de
tests/pySim-smpp2sim_test: add integration test

At the moment pySim.ota codebase is not covered by any of the
integration tests (we have only normal unittests so far). To
increase the test coverage, let's add an integration test that
sends exchanges an RFM OTA-SMS with a real-world card.

However, there is no tool avaliable that can be used as an SMPP
client for pySim-smpp2sim yet. Let's use smpp_ota_apdu2.py on
laforge/ota to develop a tool that we can use to exchange SMS-TPDUs
that contain remote APDU scripts (RFM/RAM).

Finally let's use the tool we have created as a basis to create
an integration test that exchanges an SMS-TPDU with the RFM
application of a sysmoISIM-SJA5 card. The testcase shall pass
when we get the expected response from the card.

Related: OS#6868
Change-Id: If25e38be004cc1c7aeeb130431831377e78fe28d
The file was modifiedsetup.py
The file was addedcontrib/smpp-ota-tool.py
The file was modifiedpySim/ota.py
The file was modifiedcontrib/jenkins.sh
The file was modifiedrequirements.txt
The file was addedtests/pySim-smpp2sim_test/pySim-smpp2sim_test.cfg
The file was addedtests/pySim-smpp2sim_test/pySim-smpp2sim_test.sh