Skip to content
Snippets Groups Projects
Commit 7df2f11f authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

Merge branch 'master' into L2SS-528-timescaledb-defaults

parents bd450c67 0432dc9b
No related branches found
No related tags found
1 merge request!193Resolve L2SS-528 "Timescaledb defaults"
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
from .base import AbstractTestBases from .base import AbstractTestBases
class TestDeviceAPSPU(AbstractTestBases.TestDeviceBase): class TestDeviceAPSPU(AbstractTestBases.TestDeviceBase):
def setUp(self): def setUp(self):
......
# -*- coding: utf-8 -*-
#
# This file is part of the LOFAR 2.0 Station Software
#
#
#
# Distributed under the terms of the APACHE license.
# See LICENSE.txt for more info.
from .base import AbstractTestBases
class TestDeviceBeam(AbstractTestBases.TestDeviceBase):
def setUp(self):
super().setUp("STAT/Beam/1")
...@@ -11,6 +11,7 @@ import time ...@@ -11,6 +11,7 @@ import time
from .base import AbstractTestBases from .base import AbstractTestBases
class TestDeviceBoot(AbstractTestBases.TestDeviceBase): class TestDeviceBoot(AbstractTestBases.TestDeviceBase):
def setUp(self): def setUp(self):
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
from .base import AbstractTestBases from .base import AbstractTestBases
class TestDeviceRECV(AbstractTestBases.TestDeviceBase): class TestDeviceRECV(AbstractTestBases.TestDeviceBase):
def setUp(self): def setUp(self):
......
...@@ -7,11 +7,14 @@ ...@@ -7,11 +7,14 @@
# Distributed under the terms of the APACHE license. # Distributed under the terms of the APACHE license.
# See LICENSE.txt for more info. # See LICENSE.txt for more info.
from tango._tango import DevState
from .base import AbstractTestBases from .base import AbstractTestBases
class TestDeviceSDP(AbstractTestBases.TestDeviceBase): class TestDeviceSDP(AbstractTestBases.TestDeviceBase):
def setUp(self): def setUp(self):
"""Intentionally recreate the device object in each test"""
super().setUp("STAT/SDP/1") super().setUp("STAT/SDP/1")
def test_device_sdp_read_attribute(self): def test_device_sdp_read_attribute(self):
......
...@@ -15,24 +15,13 @@ from tango._tango import DevState ...@@ -15,24 +15,13 @@ from tango._tango import DevState
from .base import AbstractTestBases from .base import AbstractTestBases
class TestDeviceSST(AbstractTestBases.TestDeviceBase): class TestDeviceSST(AbstractTestBases.TestDeviceBase):
def setUp(self): def setUp(self):
"""Intentionally recreate the device object in each test"""
super().setUp("STAT/SST/1") super().setUp("STAT/SST/1")
def test_device_on(self):
"""Test if we can transition to on"""
port_property = {"Statistics_Client_TCP_Port": "4999"}
self.proxy.put_property(port_property)
self.proxy.initialise()
self.assertEqual(DevState.STANDBY, self.proxy.state())
self.proxy.on()
self.assertEqual(DevState.ON, self.proxy.state())
def test_device_sst_send_udp(self): def test_device_sst_send_udp(self):
port_property = {"Statistics_Client_TCP_Port": "4998"} port_property = {"Statistics_Client_TCP_Port": "4998"}
self.proxy.put_property(port_property) self.proxy.put_property(port_property)
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
from .base import AbstractTestBases from .base import AbstractTestBases
class TestDeviceUNB2(AbstractTestBases.TestDeviceBase): class TestDeviceUNB2(AbstractTestBases.TestDeviceBase):
def setUp(self): def setUp(self):
"""Intentionally recreate the device object in each test"""
super().setUp("STAT/UNB2/1") super().setUp("STAT/UNB2/1")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment