dexter has uploaded this change for review. (
https://gerrit.osmocom.org/c/pysim/+/37821?usp=email )
Change subject: tests: move unittests into sub directory
......................................................................
tests: move unittests into sub directory
We currently mix the unit-tests with the shell script based integration
tests. Let's put them into a dedicated sub directory.
Related: OS#6531
Change-Id: I0978c5353d0d479a050bbb6e7ae5a63db5e08d24
---
M contrib/jenkins.sh
R tests/unittests/test_apdu.py
R tests/unittests/test_construct.py
R tests/unittests/test_esim.py
R tests/unittests/test_esim_bsp.py
R tests/unittests/test_esim_saip.py
R tests/unittests/test_euicc.py
R tests/unittests/test_files.py
R tests/unittests/test_globalplatform.py
R tests/unittests/test_ota.py
R tests/unittests/test_sms.py
R tests/unittests/test_tlv.py
R tests/unittests/test_tlvs.py
R tests/unittests/test_utils.py
14 files changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/21/37821/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index a35241d..c42d3fe 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -25,7 +25,7 @@
pip install pyshark
# Execute automatically discovered unit tests first
- python -m unittest discover -v -s tests/
+ python -m unittest discover -v -s tests/unittests
# Run the test with physical cards
cd pysim-testdata
diff --git a/tests/test_apdu.py b/tests/unittests/test_apdu.py
similarity index 100%
rename from tests/test_apdu.py
rename to tests/unittests/test_apdu.py
diff --git a/tests/test_construct.py b/tests/unittests/test_construct.py
similarity index 100%
rename from tests/test_construct.py
rename to tests/unittests/test_construct.py
diff --git a/tests/test_esim.py b/tests/unittests/test_esim.py
similarity index 100%
rename from tests/test_esim.py
rename to tests/unittests/test_esim.py
diff --git a/tests/test_esim_bsp.py b/tests/unittests/test_esim_bsp.py
similarity index 100%
rename from tests/test_esim_bsp.py
rename to tests/unittests/test_esim_bsp.py
diff --git a/tests/test_esim_saip.py b/tests/unittests/test_esim_saip.py
similarity index 100%
rename from tests/test_esim_saip.py
rename to tests/unittests/test_esim_saip.py
diff --git a/tests/test_euicc.py b/tests/unittests/test_euicc.py
similarity index 100%
rename from tests/test_euicc.py
rename to tests/unittests/test_euicc.py
diff --git a/tests/test_files.py b/tests/unittests/test_files.py
similarity index 100%
rename from tests/test_files.py
rename to tests/unittests/test_files.py
diff --git a/tests/test_globalplatform.py
b/tests/unittests/test_globalplatform.py
similarity index 100%
rename from tests/test_globalplatform.py
rename to tests/unittests/test_globalplatform.py
diff --git a/tests/test_ota.py b/tests/unittests/test_ota.py
similarity index 100%
rename from tests/test_ota.py
rename to tests/unittests/test_ota.py
diff --git a/tests/test_sms.py b/tests/unittests/test_sms.py
similarity index 100%
rename from tests/test_sms.py
rename to tests/unittests/test_sms.py
diff --git a/tests/test_tlv.py b/tests/unittests/test_tlv.py
similarity index 100%
rename from tests/test_tlv.py
rename to tests/unittests/test_tlv.py
diff --git a/tests/test_tlvs.py b/tests/unittests/test_tlvs.py
similarity index 100%
rename from tests/test_tlvs.py
rename to tests/unittests/test_tlvs.py
diff --git a/tests/test_utils.py b/tests/unittests/test_utils.py
similarity index 100%
rename from tests/test_utils.py
rename to tests/unittests/test_utils.py
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37821?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I0978c5353d0d479a050bbb6e7ae5a63db5e08d24
Gerrit-Change-Number: 37821
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>