Skip to content

Commit

Permalink
updated mutable configs test
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni-t committed Feb 12, 2024
1 parent 16a569a commit 5f84fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ def load_with_mutable_configurations(
:param str pipette_model: The pipette model name (i.e. "p10_single_v1.3")
for which to load configuration
:param pipette_override_path: The path to the on-disk file which has the config overrides.
:param pipette_serial_number: An (optional) unique ID for the pipette to locate
config overrides. If the ID is not specified, the system
assumes this is a simulated pipette and does not
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def test_load_with_overrides(
dict_loaded_configs = loaded_base_configurations.dict(by_alias=True)
dict_loaded_configs["pickUpTipConfigurations"]["pressFit"][
"speedByTipCount"
] = 5.0
] = {1: 5.0, 2: 5.0, 3: 5.0, 4: 5.0, 5: 5.0, 6: 5.0, 7: 5.0, 8: 5.0}
updated_configurations_dict = updated_configurations.dict(by_alias=True)
assert set(dict_loaded_configs.pop("quirks")) == set(
updated_configurations_dict.pop("quirks")
Expand Down

0 comments on commit 5f84fce

Please sign in to comment.