pytest-play support for AWS DynamoDB queries and assertions
Project description
play dynamodb
pytest-play support for AWS DynamoDB queries and assertions
More info and examples on:
pytest-play, documentation
cookiecutter-qa, see pytest-play in action with a working example if you want to start hacking
Features
This project defines new pytest-play commands for AWS DynamoDB:
- type: dynamodb provider: play_dynamodb method: get_item connection: region_name: us-west-2 endpoint_url: http://localhost:8000 variable: item variable_expression: response assertion: item['Item']['AlbumTitle']['S'] == 'Songs About Life' TableName: Music parameters: Key: Artist: S: Acme Band SongTitle: S: Happy Day
Supported methods:
batch_get_item
batch_write_item
delete_item
get_item
put_item
query
scan
update_item
pytest-play tweets happens here:
Credits
This package was created with Cookiecutter and the cookiecutter-play-plugin (based on audreyr/cookiecutter-pypackage project template).
CHANGES
0.0.2 (2019-01-25)
Supports new pytest-play >= 2.0 YAML based syntax (json no more supported)
0.0.1 (2018-01-31)
First release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file play_dynamodb-0.0.2.tar.gz
.
File metadata
- Download URL: play_dynamodb-0.0.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f28a9c5a4696fba3e69cc877ea18e2c445b0db3fb7e4245a8000cbd6956e7ad |
|
MD5 | 6c1d3ab448dc2e3299c2b85d166fa648 |
|
BLAKE2b-256 | 95f2c993c98a5508fdfdffcd1a140e81fce68634a75f39db5e4ece650d0078c6 |
File details
Details for the file play_dynamodb-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: play_dynamodb-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3410a56b54012b2ff44dfdd6abb77886e96a70ba31395e1752b8aaed3c3be9 |
|
MD5 | cd3ba7cad4137073ff3d7748dfe37d6d |
|
BLAKE2b-256 | b42cdbff7a70c21053a1e0a5af3b95e97aa4fc18fb21f58e3129b535ea153143 |