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
Built Distribution
File details
Details for the file play_dynamodb-0.0.1.tar.gz
.
File metadata
- Download URL: play_dynamodb-0.0.1.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45da593af8e9cd93789b0ed1a90da7744414bcaafc821484eb0bdb648f03599b |
|
MD5 | 96a0cd5f0327e814ad2c612b51681792 |
|
BLAKE2b-256 | 7a51c8165d66224361ab9a74f60aab14dba498b68d444c2a26196e2edc2ff747 |
Provenance
File details
Details for the file play_dynamodb-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: play_dynamodb-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 334b7f8b0972cd376867a4dadeb95119921b5f79fb1279059a86dd0d25aaca3d |
|
MD5 | 57966c5bbdff6c1b8f8db5b4bbe327c8 |
|
BLAKE2b-256 | 394d57e979ef635894fb0e716cfb6c77017b8c5c2419ea0c1844564a65a76164 |