Skip to content

Commit 34ba0f3

Browse files
Modify test to show that fluidics["reservoir"] was broken
1 parent c8c11d3 commit 34ba0f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,5 +683,8 @@ def test_issue_38(self):
683683
def test_fluidics_source(self):
684684
fp = dir_testfiles / "BLPro" / "18-FZJ-Test2--2018-02-07-10-01-11.csv"
685685
bldata = bletl.parse(fp)
686-
assert isinstance(bldata.fluidics["reservoir"][0], bletl.FluidicsSource)
686+
correct_type = numpy.array(
687+
[isinstance(r, bletl.FluidicsSource) for r in bldata.fluidics["reservoir"]]
688+
)
689+
assert all(correct_type), f"{sum(correct_type)/len(correct_type)} % correct"
687690
pass

0 commit comments

Comments
 (0)