Skip to content

Commit

Permalink
crypto-test: run tests with pytest
Browse files Browse the repository at this point in the history
No changes required to the actual test source, pytest groks unittest API.
  • Loading branch information
vamposdecampos committed May 8, 2021
1 parent 11ccf70 commit 38052ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/crypto-test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ADD docker/crypto-test/gen_testdata.sh .
RUN ./gen_testdata.sh

ADD ro_help/mobilpay mobilpay/
RUN python3 -m mobilpay.mobilpay.test -v
RUN pytest mobilpay/mobilpay/test.py -v
1 change: 1 addition & 0 deletions requirements-crypto-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-r requirements-crypto.txt
requests==2.23.0
pytest==5.4.1

0 comments on commit 38052ff

Please sign in to comment.