From 0fa787317f228ef0a6e78e76d78f7cd225e28c4d Mon Sep 17 00:00:00 2001 From: thijs snijder <snijder@astron.nl> Date: Thu, 2 Dec 2021 12:08:40 +0100 Subject: [PATCH] changed unit test functions called --- .../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 24ba5f506..13312bd86 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_R_test(self, dev, dtype, test_type): + def read_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_R_test( + self.read_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_RW_test( + self.read_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_R_test( + self.read_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_RW_test( + self.read_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_R_test( + self.read_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_RW_test( + self.read_test( attribute_type_test['image'], attribute_type_test['type'], 'image') -- GitLab