Skip to content

Commit

Permalink
Update submodules. Fix DM bugs in test_basic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell committed Apr 28, 2023
1 parent b7daac6 commit f989feb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion acquire-video-runtime
6 changes: 3 additions & 3 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_set_storage(runtime: Runtime):
assert p.video[0].storage.identifier is not None
assert p.video[0].storage.identifier.kind == acquire.DeviceKind.NONE
p.video[0].storage.identifier = dm.select(
acquire.DeviceKind.Storage, "Tiff"
acquire.DeviceKind.Storage, "tiff"
)
assert p.video[0].storage.identifier is not None

Expand Down Expand Up @@ -207,7 +207,7 @@ def test_change_filename(runtime: Runtime):
dm = runtime.device_manager()
p = runtime.get_configuration()
p.video[0].camera.identifier = dm.select(DeviceKind.Camera, "simulated.*")
p.video[0].storage.identifier = dm.select(DeviceKind.Storage, "Tiff")
p.video[0].storage.identifier = dm.select(DeviceKind.Storage, "tiff")
p.video[0].max_frame_count = 1

names = [
Expand Down Expand Up @@ -240,7 +240,7 @@ def test_write_external_metadata_to_tiff(
DeviceKind.Camera, "simulated.*sin"
)
p.video[0].camera.settings.shape = (33, 47)
p.video[0].storage.identifier = dm.select(DeviceKind.Storage, "Tiff")
p.video[0].storage.identifier = dm.select(DeviceKind.Storage, "tiff")
p.video[0].max_frame_count = 3
p.video[0].storage.settings.filename = f"{request.node.name}.tif"
metadata = {"hello": "world"}
Expand Down

0 comments on commit f989feb

Please sign in to comment.