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

Fix unit tests after aperture change #1424

Merged
merged 8 commits into from
Jun 3, 2024

Conversation

olliesilvester
Copy link
Contributor

A recent change in dodal required a change in BlueAPI, which hasn't had a release since the change, so breaks one of our tests. This PR pins blueapi to that commit, as well as fix one of the tests I added in #1336

Link to dodal PR (if required): #XXX
(remember to update setup.cfg with the dodal commit tag if you need it for tests to pass!)

To test:

  1. Confirm tests pass

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.

Couple of small comments, happy for you to merge if you address them.

setup.cfg Outdated Show resolved Hide resolved
tests/conftest.py Outdated Show resolved Hide resolved
@olliesilvester olliesilvester merged commit 4bed47e into main Jun 3, 2024
4 checks passed
@olliesilvester olliesilvester deleted the fix_unit_tests_after_aperture_change branch June 3, 2024 17:19
olliesilvester added a commit to olliesilvester/mx-bluesky that referenced this pull request Aug 23, 2024
* Fix aperture test

* Pin blueapi to working commit

* Give mock motors a non=0 velocity

---------

Co-authored-by: Dominic Oram <[email protected]>
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