Skip to content
Snippets Groups Projects
Commit cb87b6e8 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

TST(scanner): test for bi-directional definition only works if the identifying...

TST(scanner): test for bi-directional definition only works if the identifying properties are non-recursive
parent 7df6e3e6
No related branches found
No related tags found
2 merge requests!217TST: Make NamedTemporaryFiles Windows-compatible,!192Support recursive definitions in scanner
Pipeline #59132 passed
......@@ -352,8 +352,10 @@ FirstConverter:
type: DictElement
records:
Block:
name: block 1
Experiment: $Experiment
Experiment:
name: experiment 1
Block: $Block
"""
......@@ -377,9 +379,9 @@ FirstConverter:
ident = CaosDBIdentifiableAdapter()
ident.load_from_yaml_object(yaml.safe_load("""
Experiment:
- Block
- name
Block:
- Experiment
- name
"""))
crawler = Crawler(identifiableAdapter=ident)
......
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