Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Fix unit test for newer dodal #866

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Fix unit test for newer dodal #866

merged 2 commits into from
Sep 1, 2023

Conversation

Tom-Willemsen
Copy link
Contributor

In dodal in DiamondLightSource/dodal#143 the device_instantiation interface was changed to accept a parameter called device_factory instead of device (to avoid ambiguity). A test in hyperion was patching these internals of dodal so needs updating (just use a positional arg instead to not care about parameter name).

Copy link
Collaborator

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks.

@Tom-Willemsen Tom-Willemsen merged commit a88bcea into main Sep 1, 2023
4 checks passed
@Tom-Willemsen Tom-Willemsen deleted the fix_unit_test branch September 1, 2023 11:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants