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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ravendb_test_driver-7.1.5.tar.gz.
File metadata
- Download URL: ravendb_test_driver-7.1.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca574499da8015ad947c37d4422d4de9a13df82d3941bc8c9d92293f446f1e8
|
|
| MD5 |
e41f8db342e4f86b836b5d8e0bc8a3cb
|
|
| BLAKE2b-256 |
8e0847e006744d700689e018abe410c1db0e2535970ba654f8bbe9e58346a775
|
File details
Details for the file ravendb_test_driver-7.1.5-py3-none-any.whl.
File metadata
- Download URL: ravendb_test_driver-7.1.5-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e0668c568de99c731f1fc6cedd002903ae98d51855638e3d950df1033858c4a
|
|
| MD5 |
5a2c79ebd5166fd1e57c951f306c2453
|
|
| BLAKE2b-256 |
007a29a12d0344ead2b8e9546ef769e84374f2e3506fcc2dc235e7108d0222a9
|