## 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:
```python
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
Raw data
{
"_id": null,
"home_page": "https://github.com/ravendb/ravendb-python-testdriver",
"name": "ravendb-test-driver",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "ravendb,nosql,database,test,driver",
"author": "RavenDB",
"author_email": "support@ravendb.net",
"download_url": "https://files.pythonhosted.org/packages/d3/96/7216873ec872dc87a5dd226e2a002d4e17993b78aa62eb27e9a2a09ee21e/ravendb-test-driver-6.0.0.post4.tar.gz",
"platform": null,
"description": "## RavenDB Test Driver\r\n\r\n`ravendb-test-driver` is a package for writing integration tests against RavenDB server.\r\n\r\n### Setup\r\n\r\nInstall from PyPi:\r\n\r\n`pip install ravendb-test-driver`\r\n\r\n\r\n### Usage\r\n\r\nInherit `RavenTestDriver` to your test class or create an instance within your class.\r\n\r\nUnittest example:\r\n\r\n```python\r\nfrom ravendb_test_driver import RavenTestDriver\r\nfrom unittest import TestCase\r\n\r\nclass TestBasic(TestCase):\r\n def setUp(self):\r\n super().setUp()\r\n self.test_driver = RavenTestDriver()\r\n\r\n def test_1(self):\r\n with self.test_driver.get_document_store() as store:\r\n with store.open_session() as session:\r\n person = {\"Name\": \"John\"}\r\n session.store(person, \"people1\")\r\n session.save_changes()\r\n```\r\n### PyPi\r\nhttps://pypi.org/project/ravendb-test-driver/\r\n\r\n### Github\r\nhttps://github.com/ravendb/ravendb-python-testdriver\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "RavenDB package for writing integration tests against RavenDB server",
"version": "6.0.0.post4",
"project_urls": {
"Homepage": "https://github.com/ravendb/ravendb-python-testdriver"
},
"split_keywords": [
"ravendb",
"nosql",
"database",
"test",
"driver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "07923c9d6b3be45004b9d51515b7a5984a5e0eb1bd978481ef886f75a2caf63c",
"md5": "03d3156264e14c612f69c74342dc4aa6",
"sha256": "ae730da8ead7c2d91a1bc4aa382e4b3e114ca1f05897c5c40c1cfc355d032979"
},
"downloads": -1,
"filename": "ravendb_test_driver-6.0.0.post4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "03d3156264e14c612f69c74342dc4aa6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 11044,
"upload_time": "2024-02-12T09:41:30",
"upload_time_iso_8601": "2024-02-12T09:41:30.707685Z",
"url": "https://files.pythonhosted.org/packages/07/92/3c9d6b3be45004b9d51515b7a5984a5e0eb1bd978481ef886f75a2caf63c/ravendb_test_driver-6.0.0.post4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d3967216873ec872dc87a5dd226e2a002d4e17993b78aa62eb27e9a2a09ee21e",
"md5": "efb36eb8361d4eb8a2154dd1e1993bc9",
"sha256": "fee650399ae1126044143b12d4260cf06d748719d039cb3eb96fd6ee1adb3c8a"
},
"downloads": -1,
"filename": "ravendb-test-driver-6.0.0.post4.tar.gz",
"has_sig": false,
"md5_digest": "efb36eb8361d4eb8a2154dd1e1993bc9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 10442,
"upload_time": "2024-02-12T09:41:32",
"upload_time_iso_8601": "2024-02-12T09:41:32.403914Z",
"url": "https://files.pythonhosted.org/packages/d3/96/7216873ec872dc87a5dd226e2a002d4e17993b78aa62eb27e9a2a09ee21e/ravendb-test-driver-6.0.0.post4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-12 09:41:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ravendb",
"github_project": "ravendb-python-testdriver",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "ravendb",
"specs": [
[
"~=",
"5.2.5.post1"
]
]
},
{
"name": "ravendb-embedded",
"specs": [
[
"~=",
"5.2.5.post1"
]
]
},
{
"name": "setuptools",
"specs": [
[
"~=",
"68.0.0"
]
]
}
],
"lcname": "ravendb-test-driver"
}