Skip to content

Commit ce819f7

Browse files
committed
Fix test import name
1 parent f9a45df commit ce819f7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/unit_tests/worker/test_task_worker.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ def context(fake_device: FakeDevice, second_fake_device: FakeDevice) -> BlueskyC
9191
ctx = BlueskyContext()
9292
ctx_config = EnvironmentConfig()
9393
ctx_config.sources.append(
94-
Source(kind=SourceKind.DEVICE_FUNCTIONS, module="devices")
94+
Source(
95+
kind=SourceKind.DEVICE_FUNCTIONS, module="tests.unit_tests.worker.devices"
96+
)
9597
)
9698
ctx.register_plan(failing_plan)
9799
ctx.register_device(fake_device)
@@ -105,7 +107,9 @@ def context_without_devices() -> BlueskyContext:
105107
ctx = BlueskyContext()
106108
ctx_config = EnvironmentConfig()
107109
ctx_config.sources.append(
108-
Source(kind=SourceKind.DEVICE_FUNCTIONS, module="devices")
110+
Source(
111+
kind=SourceKind.DEVICE_FUNCTIONS, module="tests.unit_tests.worker.devices"
112+
)
109113
)
110114
ctx.with_config(ctx_config)
111115
return ctx

0 commit comments

Comments
 (0)