Skip to main content

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

https://github.com/ravendb/ravendb-python-testdriver

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

ravendb_test_driver-7.1.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ravendb_test_driver-7.1.5-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for ravendb_test_driver-7.1.5.tar.gz
Algorithm Hash digest
SHA256 bca574499da8015ad947c37d4422d4de9a13df82d3941bc8c9d92293f446f1e8
MD5 e41f8db342e4f86b836b5d8e0bc8a3cb
BLAKE2b-256 8e0847e006744d700689e018abe410c1db0e2535970ba654f8bbe9e58346a775

See more details on using hashes here.

File details

Details for the file ravendb_test_driver-7.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for ravendb_test_driver-7.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8e0668c568de99c731f1fc6cedd002903ae98d51855638e3d950df1033858c4a
MD5 5a2c79ebd5166fd1e57c951f306c2453
BLAKE2b-256 007a29a12d0344ead2b8e9546ef769e84374f2e3506fcc2dc235e7108d0222a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page