Skip to content

Commit 6767475

Browse files
committed
Fixing Optic update test
Was causing /doc1.json to be removed, thus affecting other tests.
1 parent 4697b9f commit 6767475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_rows_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44

55
def test_update_dsl_fromDocDescriptors(client):
6-
doc_uri = "/doc1.json"
6+
doc_uri = "/temp/doc1.json"
77
doc_contents = {"hello": "doc1"}
88
doc_permissions = [
99
{"capability": "read", "roleName": "python-tester"},
1010
{"capability": "update", "roleName": "python-tester"},
1111
]
1212
update_query_fromDocDescriptors = f"""
1313
const docDescriptors = [
14-
{{
14+
{{
1515
uri:"{doc_uri}",
1616
doc:'{json.dumps(doc_contents)}',
1717
permissions: {json.dumps(doc_permissions)}

0 commit comments

Comments
 (0)