pytest-play support for Cassandra expressions and assertions
Project description
play cassandra
pytest-play support for Cassandra expressions 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 a new pytest-play command:
{ 'provider': 'play_cassandra' 'type': 'execute', 'connection': { 'contact_points': ['10.1.1.3', '10.1.1.4', '10.1.1.5'], 'port': '9042', 'auth_provider': {'username': '$username', 'password': '$password'} }, 'keyspace': 'users', 'query': 'SELECT name, age, email FROM users WHERE user_id=15', 'variable': 'user1_age', 'variable_expression': 'results[0].age', 'assertion': 'results[0].name == "User 1"' }
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 (2018-01-22)
removed play_python from dependencies (deprecated)
0.0.1 (2018-01-16)
First release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
play_cassandra-0.0.2.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for play_cassandra-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd27820b3bffcf400135e008dcec31aa384f9da235f81001ff67b3f9decd77aa |
|
MD5 | d3c280eb860fd98c3e0ba7d6ac173c81 |
|
BLAKE2b-256 | 992931d7a7da1b2bab72578f218ea5893ec3d3001a85775e12063d6201a34ebf |