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

stuff

parent 8d969dc0
No related branches found
No related tags found
1 merge request!7Treat dependencies among identifiables
Pipeline #9743 passed
---
tests:
- stuff
responsible:
- Tom Wood
description: Something.
...
......@@ -9,11 +9,20 @@ project = db.Record(name='2010_TestProject')
project.add_parent(name=dm.Project)
project.insert()
pers = db.Record()
pers.add_parent("Person")
pers.add_property("lastname", "Wood")
pers.add_property("firstname", "Tom")
pers.insert()
experiment = db.Record()
experiment.add_parent(name=dm.Experiment)
experiment.description = "Something."
experiment.add_property(
name=dm.date, value='2019-02-04')
experiment.add_property(name=dm.Project, value=project)
experiment.add_property(
name="identifier", value="empty_identifier")
experiment.add_property(
name="responsible", value=pers)
experiment.insert()
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