Skip to main content

pytest-play support for AWS DynamoDB queries and assertions

Project description

play dynamodb

Documentation Status

pytest-play support for AWS DynamoDB queries and assertions

More info and examples on:

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

Twitter

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
play_dynamodb-0.0.1-py2.py3-none-any.whl (5.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jan 31, 2018
play_dynamodb-0.0.1.tar.gz (17.5 kB) Copy SHA256 hash SHA256 Source None Jan 31, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page