RavenDB package for writing integration tests against RavenDB server
Project description
RavenDB Test Driver
ravendb-test-driver
is a package for writing integration tests against RavenDB server.
Setup
Install from PyPi:
pip install ravendb-test-driver
Usage
Inherit RavenTestDriver
to your test class or create an instance within your class.
Unittest example:
from ravendb_test_driver import RavenTestDriver
from unittest import TestCase
class TestBasic(TestCase):
def setUp(self):
super().setUp()
self.test_driver = RavenTestDriver()
def test_1(self):
with self.test_driver.get_document_store() as store:
with store.open_session() as session:
person = {"Name": "John"}
session.store(person, "people1")
session.save_changes()
PyPi
https://pypi.org/project/ravendb-test-driver/
Github
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ravendb-test-driver-6.0.0.post5.tar.gz
.
File metadata
- Download URL: ravendb-test-driver-6.0.0.post5.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c00f41439d4c4ff5ffc96a81034c7c14c66d789c678d3ad549118a5831b338b |
|
MD5 | 1aeb1b903552012c5fd5f1917aa32449 |
|
BLAKE2b-256 | ee8dff4b0922bdc879a88711f2a9ecc9e7ef0e871f9bf5136bd8077f796d3bf1 |
File details
Details for the file ravendb_test_driver-6.0.0.post5-py3-none-any.whl
.
File metadata
- Download URL: ravendb_test_driver-6.0.0.post5-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640f496422790c84fc0f355e937bb5612a94579c2923a9e479895fcf08fbc0ee |
|
MD5 | 9ba30c1e188fbe9dcf6e63b56199b4bf |
|
BLAKE2b-256 | 8252c4dcb10d4c5d6bb292332005aae3841d3698b81357f443125eff63323484 |