Skip to content
Snippets Groups Projects
Commit a1023cdd authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: use correct record name

parent 4e5bd724
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,13 @@ def test_deletion():
r.add_parent("TestRec")
r.add_property("testProp", value="leer")
r.insert()
assert_equals(db.execute_query("FIND Test with te='leer'")[0].id, r.id)
assert_equals(db.execute_query("FIND TestRec with testProp='leer'")[0].id,
r.id)
r.delete()
r = db.Record()
r.add_parent("TestRec")
r.add_property("testProp", value="")
r.insert()
assert_equals(db.execute_query("FIND Test with te=''")[0].id, r.id)
assert_equals(db.execute_query("FIND TestRec with testProp=''")[0].id,
r.id)
r.delete()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment