From a66a51f443811c0b57ea4b6b2d6f090b937b01ec Mon Sep 17 00:00:00 2001 From: thijs snijder <snijder@astron.nl> Date: Tue, 14 Dec 2021 11:54:56 +0100 Subject: [PATCH] changed the function used for RW tests --- .../test/clients/test_attr_wrapper.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tangostationcontrol/tangostationcontrol/test/clients/test_attr_wrapper.py b/tangostationcontrol/tangostationcontrol/test/clients/test_attr_wrapper.py index 7916d5972..651fbabe8 100644 --- a/tangostationcontrol/tangostationcontrol/test/clients/test_attr_wrapper.py +++ b/tangostationcontrol/tangostationcontrol/test/clients/test_attr_wrapper.py @@ -298,7 +298,7 @@ class TestAttributeTypes(base.TestCase): def configure_for_initialise(self): dev_init(self) - def read_test(self, dev, dtype, test_type): + def read_R_test(self, dev, dtype, test_type): '''Test device''' with DeviceTestContext(dev, process=True) as proxy: @@ -542,13 +542,13 @@ class TestAttributeTypes(base.TestCase): def test_scalar_R(self): for attribute_type_test in self.attribute_type_tests: - self.read_test( + self.read_R_test( attribute_type_test['scalar'], attribute_type_test['type'], 'scalar') def test_scalar_RW(self): for attribute_type_test in self.attribute_type_tests: - self.read_test( + self.read_RW_test( attribute_type_test['scalar'], attribute_type_test['type'], 'scalar') @@ -566,13 +566,13 @@ class TestAttributeTypes(base.TestCase): def test_spectrum_R(self): for attribute_type_test in self.attribute_type_tests: - self.read_test( + self.read_R_test( attribute_type_test['spectrum'], attribute_type_test['type'], 'spectrum') def test_spectrum_RW(self): for attribute_type_test in self.attribute_type_tests: - self.read_test( + self.read_RW_test( attribute_type_test['spectrum'], attribute_type_test['type'], 'spectrum') @@ -590,13 +590,13 @@ class TestAttributeTypes(base.TestCase): def test_image_R(self): for attribute_type_test in self.attribute_type_tests: - self.read_test( + self.read_R_test( attribute_type_test['image'], attribute_type_test['type'], 'image') def test_image_RW(self): for attribute_type_test in self.attribute_type_tests: - self.read_test( + self.read_RW_test( attribute_type_test['image'], attribute_type_test['type'], 'image') -- GitLab