fix undefined name 'abort' and 'qreader'

This commit is contained in:
scito
2022-12-29 04:15:36 +01:00
parent 47e84e4462
commit c90526dcf2
4 changed files with 25 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ ARG RUN_TESTS=true
RUN apk add --no-cache nano zlib jpeg \
&& echo "Arch: $(apk --print-arch)" \
&& if [[ "$(apk --print-arch)" == "aarch64" ]]; then apk add --no-cache --virtual .build-deps gcc libc-dev python3-dev py3-setuptools zlib-dev jpeg-dev; fi \
&& pip install protobuf qrcode Pillow \
&& pip install --no-cache-dir protobuf qrcode Pillow \
&& if [[ "$(apk --print-arch)" == "aarch64" ]]; then apk del .build-deps; fi \
&& if [[ "$RUN_TESTS" == "true" ]]; then /extract/run_pytest.sh test_extract_otp_secret_keys_pytest.py -k "not qreader" --relaxed; else echo "Not running tests..."; fi