pytest-crate is a plugin for pytest for writing integration tests that interact with CrateDB.
Usage
pytest-crate provides a crate session fixture which downloads, starts and stops a CrateDB node.
>>> def test_database_access(crate):
... # perform database access
... ...
The CrateDB version can be specified using the --crate-version option when running pytest. By default, the latest stable version of CrateDB is used.
See tests/test_layer.py for further examples.
Release files for pytest-crate 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-crate-0.3.0.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_crate-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.8 kB
Release files / pytest-crate-0.3.0.tar.gz
| Download URL | pytest-crate-0.3.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f352e0a3caede4f15581f50bc904c65fe2590fe6223bae5f09448d9e6b1a66d3
|
|
BLAKE2b-256 checksum How to use checksums |
0fc6bf8e2aabf6389b6f3d36d381ec6de513bfc05a05ae7b334833ec7a850bdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3rc1
|
Release files / pytest_crate-0.3.0-py2.py3-none-any.whl
| Download URL | pytest_crate-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d52eca552a5be54519f6b07eecaa5a85b89649037bce1cf18d2fe8a3fd6e094
|
|
BLAKE2b-256 checksum How to use checksums |
019224e82a568cc9f5432e19f107400d1cd9bf4ce4a77c22b14a7b563d708ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3rc1
|