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

FIX: fix unittest

parent 57a134a1
Branches
Tags
2 merge requests!105REL: v0.4.0,!100ENH: add a decorator that adds a path variable
Pipeline #33677 failed
...@@ -48,7 +48,6 @@ def test_record_structure_generation(crawler): ...@@ -48,7 +48,6 @@ def test_record_structure_generation(crawler):
else: else:
subddata = subd[1] subddata = subd[1]
subdRTGPL = subd[0] subdRTGPL = subd[0]
print(subddata.keys())
assert len(subddata) == 5 assert len(subddata) == 5
assert "DataAnalysis" in subddata assert "DataAnalysis" in subddata
assert "DataAnalysis_path" in subddata assert "DataAnalysis_path" in subddata
...@@ -60,6 +59,6 @@ def test_record_structure_generation(crawler): ...@@ -60,6 +59,6 @@ def test_record_structure_generation(crawler):
assert prop.value == 23 assert prop.value == 23
# record store on Data Analysis node of debug tree # record store on Data Analysis node of debug tree
assert len(subdRTGPL) == 2 assert len(subdRTGPL) == 1
prop2 = subdRTGPL["RecordThatGetsParentsLater"].get_property("someId") prop2 = subdRTGPL["RecordThatGetsParentsLater"].get_property("someId")
assert prop == prop2 assert prop == prop2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment