Attention is currently required from: fixeria, laforge.
dexter has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/pysim/+/37819?usp=email )
Change subject: Testsuite for pySim-shell with real cards ......................................................................
Patch Set 15:
(2 comments)
File tests/pySim-shell_test/ara_m/test.py:
https://gerrit.osmocom.org/c/pysim/+/37819/comment/007c70ef_b4cb60d7?usp=ema... : PS15, Line 27: self.setup(__file__)
Calling this in each test case can be avoided by defining method `setUp` in `UnittestUtils`. […]
Initially I had it in the constructor of UnittestUtils, but I ran into problems because I want t display the unittest name, which I deduct from the file name. Since I could not get the file name through inspection methods I gave up and opted for having this setup method. Do you have any ideas? I would love to get rid of this method call.
https://gerrit.osmocom.org/c/pysim/+/37819/comment/ce417b64_c80a97cd?usp=ema... : PS15, Line 35: self.cleanup()
Likewise, calling this in each test case can be avoided by defining method `tearDown` in `UnittestUt […]
This could actually work. I will try it.