We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edc0e6b commit 5a9f8c3Copy full SHA for 5a9f8c3
1 file changed
ravendb/tests/issue_tests/test_RDBC_940.py
@@ -0,0 +1,28 @@
1
+from ravendb.tests.test_base import TestBase
2
+
3
4
+class TestDocument:
5
+ def __init__(self, name: str = None):
6
+ self.name = name
7
8
9
+class TestRDBC940(TestBase):
10
+ def setUp(self):
11
+ super(TestRDBC940, self).setUp()
12
13
+ def test_operations_with_zstandard_imported(self):
14
+ import zstandard
15
16
+ document_id = "test-documents/1"
17
18
+ with self.store.open_session() as session:
19
+ test_doc = TestDocument(name="Test Document")
20
+ session.store(test_doc, document_id)
21
+ session.save_changes()
22
23
24
+ loaded_doc = session.load(document_id, TestDocument)
25
26
27
+ session.delete(document_id)
28
0 commit comments