mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-11 05:47:14 +02:00
test(BECDeviceBase): add test
This commit is contained in:
8
tests/test_simulation.py
Normal file
8
tests/test_simulation.py
Normal file
@ -0,0 +1,8 @@
|
||||
from ophyd_devices.utils.bec_device_base import BECDeviceBase, BECDevice
|
||||
|
||||
|
||||
def test_BECDeviceBase():
|
||||
# Test the BECDeviceBase class
|
||||
test = BECDeviceBase(name="test")
|
||||
assert isinstance(test, BECDevice)
|
||||
assert test.connected is True
|
Reference in New Issue
Block a user