Skip to content
Snippets Groups Projects
Commit 068c3080 authored by Taya Snijder's avatar Taya Snijder
Browse files

renamed class

parent c797e406
No related branches found
No related tags found
1 merge request!457Resolve L2SS-825 "Start an observation"
...@@ -28,7 +28,7 @@ logger = logging.getLogger() ...@@ -28,7 +28,7 @@ logger = logging.getLogger()
__all__ = ["ObservationControl", "main"] __all__ = ["ObservationControl", "main"]
class observationWrapper(object): class ObservationWrapper(object):
""" This class provides a pythonic interface to the ObservationControl and Observation devices on a station. """ """ This class provides a pythonic interface to the ObservationControl and Observation devices on a station. """
def __init__(self, specification: dict, host: str = "databaseds.tangonet:10000"): def __init__(self, specification: dict, host: str = "databaseds.tangonet:10000"):
......
...@@ -11,7 +11,7 @@ from tangostationcontrol.test.devices.test_observation_base import TestObservati ...@@ -11,7 +11,7 @@ from tangostationcontrol.test.devices.test_observation_base import TestObservati
from tangostationcontrol.integration_test import base from tangostationcontrol.integration_test import base
from tangostationcontrol.integration_test.device_proxy import TestDeviceProxy from tangostationcontrol.integration_test.device_proxy import TestDeviceProxy
from tangostationcontrol.devices.observation.observation_control import observationWrapper from tangostationcontrol.devices.observation.observation_control import ObservationWrapper
from os import environ from os import environ
from json import loads from json import loads
...@@ -32,7 +32,7 @@ class TestObservation(base.IntegrationTestCase): ...@@ -32,7 +32,7 @@ class TestObservation(base.IntegrationTestCase):
specification_dict = loads(TestObservationBase.VALID_JSON) specification_dict = loads(TestObservationBase.VALID_JSON)
# create an observation class using the dict and as host just get it using a util function # create an observation class using the dict and as host just get it using a util function
observation = observationWrapper(specification=specification_dict, host=environ["TANGO_HOST"]) observation = ObservationWrapper(specification=specification_dict, host=environ["TANGO_HOST"])
# Assert the observation is running after starting it # Assert the observation is running after starting it
observation.start() observation.start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment