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.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
play_dynamodb-0.0.1.tar.gz
(17.5 kB
view hashes)
Built Distribution
Close
Hashes for play_dynamodb-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 334b7f8b0972cd376867a4dadeb95119921b5f79fb1279059a86dd0d25aaca3d |
|
MD5 | 57966c5bbdff6c1b8f8db5b4bbe327c8 |
|
BLAKE2b-256 | 394d57e979ef635894fb0e716cfb6c77017b8c5c2419ea0c1844564a65a76164 |