Skip to content
Snippets Groups Projects
Commit 9b4822f8 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: typo

parent 755b87c0
Branches
Tags
1 merge request!34TST: Add integration test for https://gitlab.com/caosdb/caosdb-server/-/issues/136
Pipeline #23277 passed
...@@ -791,10 +791,10 @@ def test_136(): ...@@ -791,10 +791,10 @@ def test_136():
r.insert() r.insert()
# Update the record: # Update the record:
test_r = db.Record(id=r.id, name="TestRecord") test_r = db.Record(id=r.id).retrieve()
test_r.add_parent(rt) test_r.add_parent(rt)
test_r.add_property(id=p.id, value=[18, 12]) test_r.add_property(id=p.id, value=[18, 12])
with pytest.raises(db.TransactionError) as cm: with pytest.raises(db.TransactionError) as err:
test_r.update() test_r.update()
te = err.value te = err.value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment