From 399d6d94cc3ce29a67ae7c6daba536aa66df9d76 Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 21 Feb 2024 10:11:28 +0100 Subject: [PATCH] test(BECDeviceBase): add test --- tests/test_simulation.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/test_simulation.py diff --git a/tests/test_simulation.py b/tests/test_simulation.py new file mode 100644 index 0000000..d0a7712 --- /dev/null +++ b/tests/test_simulation.py @@ -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