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

removed docker device integration test

parent 90834818
Branches
No related tags found
1 merge request!434Resolve L2SS-982 "Update docker device"
# -*- 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment