Skip to content

Commit ce821e9

Browse files
committed
py client: add mc deps
1 parent f55c1f9 commit ce821e9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

python/generate-api-client.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
mv test-requirements.txt test-requirements.txt.bak
4+
35
# We assume OpenAPI Generator is installed using `npm i -g @openapitools/openapi-generator-cli`
46
openapi-generator generate -i MDES_Digital_Enablement.yaml -g python -o .
57

@@ -14,3 +16,5 @@ shopt -s extglob
1416
cd test
1517
rm -fv !(test_tokenize_api.py|__init__.py)
1618
cd ..
19+
20+
mv test-requirements.txt.bak test-requirements.txt

python/test-requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
pytest~=4.6.7 # needed for python 2.7+3.4
22
pytest-cov>=2.8.1
33
pytest-randomly==1.2.3 # needed for python 2.7+3.4
4+
mastercard-oauth1-signer >= 1.1.3
5+
mastercard-client-encryption >= 1.1.2

0 commit comments

Comments
 (0)