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.3 (2018-01-23)
speed up cassandra connections with cache
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.3.tar.gz
(17.4 kB
view hashes)
Built Distribution
Close
Hashes for play_cassandra-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5ac75fa9e4cb971fde7288ddc6b3e9c2daf00ffae33f5431ef3ac5f682dd2d5 |
|
MD5 | 74ab9a100a06c2e912dab801f0a9bbd5 |
|
BLAKE2b-256 | f91a0827f1171862c059eb115400341a3b7e62cfd481722cbb64a831c012e057 |