-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
279 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[run] | ||
include = */shoobx/mocks3/* | ||
omit = */test* | ||
relative_files = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: shoobx.mocks3 | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.8', '3.9', '3.10', '3.11'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install tox tox-gh-actions | ||
- name: Test with tox | ||
run: tox | ||
- name: Coveralls | ||
uses: AndreMiras/coveralls-python-action@develop | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-e file:.[test] | ||
|
||
# moto[server] 4.1.2 | ||
# breaks with | ||
# File "/work/shoobx/shoobx.mocks3/ve/lib/python3.10/site-packages/moto/s3/responses.py", line 1176, in _key_response | ||
# bucket_permissions = bucket.get_permission(action, resource) | ||
# AttributeError: 'Bucket' object has no attribute 'get_permission' | ||
# | ||
# https://github.com/getmoto/moto/pull/5883#issuecomment-1437083301 | ||
|
||
moto[server]==4.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,222 @@ | ||
# shoobx.mocks3 | ||
-e . [test] | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# pip-compile ./requirements.in | ||
# | ||
-e file:. | ||
# via -r ./requirements.in | ||
attrs==22.2.0 | ||
# via | ||
# jschema-to-python | ||
# jsonschema | ||
# sarif-om | ||
aws-sam-translator==1.59.0 | ||
# via cfn-lint | ||
aws-xray-sdk==2.11.0 | ||
# via moto | ||
boto3==1.26.74 | ||
# via | ||
# aws-sam-translator | ||
# moto | ||
# shoobx-mocks3 | ||
botocore==1.29.74 | ||
# via | ||
# aws-xray-sdk | ||
# boto3 | ||
# moto | ||
# s3transfer | ||
certifi==2022.12.7 | ||
# via requests | ||
cffi==1.15.1 | ||
# via cryptography | ||
cfn-lint==0.73.2 | ||
# via moto | ||
charset-normalizer==3.0.1 | ||
# via requests | ||
click==8.1.3 | ||
# via flask | ||
coverage==7.1.0 | ||
# via shoobx-mocks3 | ||
cryptography==39.0.1 | ||
# via | ||
# moto | ||
# python-jose | ||
# sshpubkeys | ||
docker==6.0.1 | ||
# via moto | ||
ecdsa==0.18.0 | ||
# via | ||
# moto | ||
# python-jose | ||
# sshpubkeys | ||
extras==1.0.0 | ||
# via | ||
# python-subunit | ||
# testtools | ||
fixtures==4.0.1 | ||
# via testtools | ||
flask==2.2.3 | ||
# via | ||
# flask-cors | ||
# moto | ||
flask-cors==3.0.10 | ||
# via | ||
# moto | ||
# shoobx-mocks3 | ||
freezegun==1.2.2 | ||
# via shoobx-mocks3 | ||
graphql-core==3.2.3 | ||
# via moto | ||
idna==3.4 | ||
# via requests | ||
itsdangerous==2.1.2 | ||
# via flask | ||
jinja2==3.1.2 | ||
# via | ||
# flask | ||
# moto | ||
jmespath==1.0.1 | ||
# via | ||
# boto3 | ||
# botocore | ||
jschema-to-python==1.2.3 | ||
# via cfn-lint | ||
jsondiff==2.0.0 | ||
# via moto | ||
jsonpatch==1.32 | ||
# via cfn-lint | ||
jsonpickle==3.0.1 | ||
# via jschema-to-python | ||
jsonpointer==2.3 | ||
# via jsonpatch | ||
jsonschema==4.17.3 | ||
# via | ||
# aws-sam-translator | ||
# cfn-lint | ||
# jsonschema-spec | ||
# openapi-schema-validator | ||
# openapi-spec-validator | ||
jsonschema-spec==0.1.3 | ||
# via openapi-spec-validator | ||
junit-xml==1.9 | ||
# via cfn-lint | ||
junitxml==0.7 | ||
# via shoobx-mocks3 | ||
lazy-object-proxy==1.9.0 | ||
# via openapi-spec-validator | ||
markupsafe==2.1.2 | ||
# via | ||
# jinja2 | ||
# werkzeug | ||
mock==5.0.1 | ||
# via shoobx-mocks3 | ||
moto[server]==4.1.1 | ||
# via shoobx-mocks3 | ||
networkx==3.0 | ||
# via cfn-lint | ||
openapi-schema-validator==0.4.3 | ||
# via openapi-spec-validator | ||
openapi-spec-validator==0.5.5 | ||
# via moto | ||
packaging==23.0 | ||
# via docker | ||
pathable==0.4.3 | ||
# via jsonschema-spec | ||
pbr==5.11.1 | ||
# via | ||
# fixtures | ||
# jschema-to-python | ||
# sarif-om | ||
# testtools | ||
pyasn1==0.4.8 | ||
# via | ||
# python-jose | ||
# rsa | ||
pycparser==2.21 | ||
# via cffi | ||
pydantic==1.10.5 | ||
# via aws-sam-translator | ||
pyparsing==3.0.9 | ||
# via moto | ||
pyrsistent==0.19.3 | ||
# via jsonschema | ||
python-dateutil==2.8.2 | ||
# via | ||
# botocore | ||
# freezegun | ||
# moto | ||
python-jose[cryptography]==3.3.0 | ||
# via moto | ||
python-subunit==1.4.2 | ||
# via shoobx-mocks3 | ||
pytz==2022.7.1 | ||
# via shoobx-mocks3 | ||
pyyaml==6.0 | ||
# via | ||
# cfn-lint | ||
# jsonschema-spec | ||
# moto | ||
requests==2.28.2 | ||
# via | ||
# docker | ||
# moto | ||
# responses | ||
responses==0.22.0 | ||
# via moto | ||
rfc3339-validator==0.1.4 | ||
# via openapi-schema-validator | ||
rsa==4.9 | ||
# via python-jose | ||
s3transfer==0.6.0 | ||
# via boto3 | ||
sarif-om==1.0.4 | ||
# via cfn-lint | ||
six==1.16.0 | ||
# via | ||
# ecdsa | ||
# flask-cors | ||
# junit-xml | ||
# python-dateutil | ||
# rfc3339-validator | ||
# zope-testrunner | ||
sshpubkeys==3.3.1 | ||
# via moto | ||
testtools==2.5.0 | ||
# via python-subunit | ||
toml==0.10.2 | ||
# via responses | ||
types-toml==0.10.8.4 | ||
# via responses | ||
typing-extensions==4.4.0 | ||
# via | ||
# aws-sam-translator | ||
# jsonschema-spec | ||
# pydantic | ||
urllib3==1.26.14 | ||
# via | ||
# botocore | ||
# docker | ||
# requests | ||
# responses | ||
websocket-client==1.5.1 | ||
# via docker | ||
werkzeug==2.2.3 | ||
# via | ||
# flask | ||
# moto | ||
wrapt==1.14.1 | ||
# via aws-xray-sdk | ||
xmltodict==0.13.0 | ||
# via moto | ||
zope-exceptions==4.6 | ||
# via zope-testrunner | ||
zope-interface==5.5.2 | ||
# via | ||
# zope-exceptions | ||
# zope-testrunner | ||
zope-testrunner==5.6 | ||
# via shoobx-mocks3 | ||
|
||
coverage == 5.5 | ||
freezegun == 1.0.0 | ||
junit-xml == 1.9 | ||
mock == 4.0.3 | ||
moto == 4.0.11 | ||
python-subunit == 1.4.0 | ||
Werkzeug == 2.1.2 | ||
tox == 3.24.5 | ||
zope.testrunner == 5.3.0 | ||
# The following packages are considered to be unsafe in a requirements file: | ||
# setuptools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters