From a42728316f2e83096f95a1562c2b5216cfd26a05 Mon Sep 17 00:00:00 2001 From: thijs snijder <snijder@astron.nl> Date: Tue, 27 Sep 2022 13:30:00 +0200 Subject: [PATCH] removed docker device integration test --- .../default/devices/test_device_docker.py | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_docker.py diff --git a/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_docker.py b/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_docker.py deleted file mode 100644 index adc0dff0a..000000000 --- a/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_docker.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- 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 - -import time - -class TestDeviceDocker(AbstractTestBases.TestDeviceBase): - - def setUp(self): - super().setUp("STAT/Docker/1") - - def test_toggle(self): - """ - Test turning off and on a running docker container - """ - self.proxy.boot() - - # Turn the recv container off and check that it is indeed turned off - self.proxy.device_recv_RW = False - time.sleep(10) - self.assertEqual(self.device_recv_R, False) - - # Turn the recv container on and check that it is indeed turned on - self.proxy.device_recv_RW = True - self.assertEqual(self.device_recv_R, True) - - - -- GitLab