Skip to content

Commit

Permalink
fix next tip type testing error
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0dler committed Jan 18, 2023
1 parent 7dc5090 commit b3cb493
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robotools/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,9 @@ def test_parameter_validation(self) -> None:
liquid_class="Water_DispZmax-1_AspZmax-1",
tips=[1, 2],
)
if type(tips) is not evotools.Tip:
if not all(isinstance(n, evotools.Tip) for n in tips):
raise TypeError(
f"Even after completing the _prepare_evo_aspirate_dispense_parameters method, tips are type {type(tips)}."
f"Even after completing the _prepare_evo_aspirate_dispense_parameters method, not all tips are type Tip."
)
# test volume argument checks
with self.assertRaises(ValueError):
Expand Down

0 comments on commit b3cb493

Please sign in to comment.