dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/42077?usp=email )
Change subject: pySim-shell_test/euicc: ensure test-profile is enabled ......................................................................
pySim-shell_test/euicc: ensure test-profile is enabled
When testing the enable_profile / disable_profile commands we expect that the profile we test with is enabled before the test begins. To be more robust lets send an enable_profile command before the actual test begins.
Change-Id: Ie57b0305876bc5001ab3a9c3a3b5711408161b74 --- M tests/pySim-shell_test/euicc/test_enable_disable_profile.script 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/77/42077/1
diff --git a/tests/pySim-shell_test/euicc/test_enable_disable_profile.script b/tests/pySim-shell_test/euicc/test_enable_disable_profile.script index 2efbf6e..f56f1d4 100644 --- a/tests/pySim-shell_test/euicc/test_enable_disable_profile.script +++ b/tests/pySim-shell_test/euicc/test_enable_disable_profile.script @@ -3,6 +3,9 @@
select ADF.ISD-R
+# Ensure that the test-profile we intend to test with is actually enabled +enable_profile --iccid 89000123456789012341 + # by ICCID (pre-installed test profile on sysmoEUICC1-C2T) disable_profile --iccid 89000123456789012341 > enable_disable_profile.tmp enable_profile --iccid 89000123456789012341 >> enable_disable_profile.tmp