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.2.3.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.2.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ravendb_test_driver-7.2.3.tar.gz.

File metadata

  • Download URL: ravendb_test_driver-7.2.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ravendb_test_driver-7.2.3.tar.gz
Algorithm Hash digest
SHA256 8889733047cb85bb2b7e282d3af524b981e9fb2ae4fc53a583cdc867096146e3
MD5 195bd72cbfbb1b99825c6891bf28be76
BLAKE2b-256 75ce9d4ce0076ef51da298052561a01cbf8e18f2b074ab2bf935351d726aaae5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ravendb_test_driver-7.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 22b368dc41481b58c37476735823c47695533b5c8a7bf018e1799ca654e3ff33
MD5 070973727bad85445793acc2e1308b1c
BLAKE2b-256 cee4878e1a632586e99196d580825dd8d1670bf759b55f2a772d39ecdc0b3eb8

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