Skip to content

Commit eef8689

Browse files
crypto-test: run tests with pytest
No changes required to the actual test source, pytest groks unittest API.
1 parent bbdc1e6 commit eef8689

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docker/crypto-test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ADD tests/crypto/gen_testdata.sh .
1111
RUN ./gen_testdata.sh
1212

1313
ADD ro_help/mobilpay mobilpay/
14-
RUN python3 -m mobilpay.mobilpay.test -v
14+
RUN pytest mobilpay/mobilpay/test.py -v

requirements-crypto-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
-r requirements-crypto.txt
22
requests==2.23.0
3+
pytest==5.4.1

0 commit comments

Comments
 (0)