From 866cf46f7475a8805df26ba825f2c78491ead6ee Mon Sep 17 00:00:00 2001 From: aaronlong Date: Tue, 10 May 2022 13:03:26 +0100 Subject: [PATCH] removed old tests --- tests/mk2chopr.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 tests/mk2chopr.py diff --git a/tests/mk2chopr.py b/tests/mk2chopr.py deleted file mode 100644 index 0b411629f..000000000 --- a/tests/mk2chopr.py +++ /dev/null @@ -1,36 +0,0 @@ -import unittest - -from utils.channel_access import ChannelAccess -from utils.ioc_launcher import get_default_ioc_dir -from utils.test_modes import TestModes -from utils.testing import get_running_lewis_and_ioc, skip_if_recsim - - -DEVICE_PREFIX = "MK2CHOPR_01" - - -IOCS = [ - { - "name": DEVICE_PREFIX, - "directory": get_default_ioc_dir("MK2CHOPR"), - "macros": {}, - "emulator": "Mk2Chopr", - }, -] - - -TEST_MODES = [TestModes.RECSIM] - - -class Mk2ChoprTests(unittest.TestCase): - """ - Tests for the Mk2Chopr IOC. - """ - def setUp(self): - self._lewis, self._ioc = get_running_lewis_and_ioc("Mk2Chopr", DEVICE_PREFIX) - self.ca = ChannelAccess(device_prefix=DEVICE_PREFIX) - - def test_GIVEN_frequency_set_WHEN_read_THEN_frequency_readback_is_as_expected(self): - test_value = 10 - self.ca.set_pv_value("FREQ:SP", test_value) - self.ca.assert_setting_setpoint_sets_readback(test_value, "FREQ", "FREQ:SP", test_value)