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.4 (2019-01-25)
Supports new pytest-play >= 2.0 YAML based syntax (json no more supported)
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
Release files for play-cassandra 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| play_cassandra-0.0.4.tar.gz | 17.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| play_cassandra-0.0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 25.8 kB
Release files / play_cassandra-0.0.4.tar.gz
| Download URL | play_cassandra-0.0.4.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
448e79cf8d3f1dc4adedb3e0908e9ad29268793690a63802e61dc17b2cdbfe2b
|
|
BLAKE2b-256 checksum How to use checksums |
cc505f746059e7d364888620bf28fd3f80beec9dbd5de9029d47596006fbb57e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
|
Release files / play_cassandra-0.0.4-py2.py3-none-any.whl
| Download URL | play_cassandra-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5f0ef05e0f0874f7f9558995e34dce9a0821c3884e2fa82c56707b496cd951cf
|
|
BLAKE2b-256 checksum How to use checksums |
717cd4d247655007563f4c8f8e7a62356c1d660492af467adfcbee29a1fd01f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
|