DiamondLightSource / DiamondLightSource/dodal

Create DeviceMock for electron analysers drivers

Open
#1,766 0 comments 0 reactions 0 assignees View on GitHub
Developer Experience SMG standarisation tests
Dominant language
Python
Stars
5
Forks
13
Avg merge
3d 2h
Merged PRs (30d)
10

Description

Now that https://github.com/bluesky/ophyd-async/pull/1129 has been merged, we should create `DeviceMock` for the electron analysers so testing is easier.

We need to set sensible default values, and when a region is set the array sizes are what we would expect to see and it returns "data" for spectrum and image.

## Acceptance Criteria
* Default DeviceMock created for `VGScientaAnalyserDriverIO` and `SpecsAnalyserDriverIO`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.