From aa9f09bc36cdaed2cb2b1aba67862c1f78da6dbb Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Mon, 17 Oct 2022 13:54:57 +0200
Subject: [PATCH] renamed class

---
 .../tangostationcontrol/devices/observation_control.py    | 2 +-
 .../integration_test/default/devices/test_observation.py  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/devices/observation_control.py b/tangostationcontrol/tangostationcontrol/devices/observation_control.py
index f8cf14fab..c4d6e64ac 100644
--- a/tangostationcontrol/tangostationcontrol/devices/observation_control.py
+++ b/tangostationcontrol/tangostationcontrol/devices/observation_control.py
@@ -28,7 +28,7 @@ logger = logging.getLogger()
 __all__ = ["ObservationControl", "main"]
 
 
-class obs(object):
+class observation_wrapper(object):
     """ This class provides a pythonic interface to the ObservationControl and Observation devices on a station. """
 
     def __init__(self, specification: str, host: str = "localhost:10000"):
diff --git a/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_observation.py b/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_observation.py
index b3546fe14..1f3f82085 100644
--- a/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_observation.py
+++ b/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_observation.py
@@ -3,7 +3,7 @@
 
 from tangostationcontrol.test.devices.test_observation_base import TestObservationBase
 from tangostationcontrol.integration_test import base
-from tangostationcontrol.devices.observation_control import obs
+from tangostationcontrol.devices.observation_control import observation_wrapper
 from tangostationcontrol.integration_test.device_proxy import TestDeviceProxy
 import numpy
 
@@ -102,12 +102,12 @@ class TestObservation(base.IntegrationTestCase):
         return tilebeam_proxy
 
 
-    def test_observation(self):
-        """Test of the obs class basic functionality"""
+    def test_observation_wrapper(self):
+        """Test of the observation_wrapper class basic functionality"""
 
         host = ApiUtil.get_env_var("TANGO_HOST")
 
-        observation = obs(specification=TestObservationBase.VALID_JSON, host=host)
+        observation = observation_wrapper(specification=TestObservationBase.VALID_JSON, host=host)
 
         # Assert the observation is running after starting it
         observation.start()
-- 
GitLab