From 5e01a41d0b37b7ce57549fcc4ed7da335792c0c7 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 15 Dec 2020 08:43:07 +0100 Subject: [PATCH] TMSS-417: pip packet websocket_client --- Docker/lofar-ci/Dockerfile_ci_sas | 2 +- SAS/TMSS/services/websocket/test/CMakeLists.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Docker/lofar-ci/Dockerfile_ci_sas b/Docker/lofar-ci/Dockerfile_ci_sas index 46ee2e412e2..6d23693123c 100644 --- a/Docker/lofar-ci/Dockerfile_ci_sas +++ b/Docker/lofar-ci/Dockerfile_ci_sas @@ -16,7 +16,7 @@ RUN yum erase -y postgresql postgresql-server postgresql-devel && \ cd /bin && ln -s /usr/pgsql-9.6/bin/initdb && ln -s /usr/pgsql-9.6/bin/postgres ENV PATH /usr/pgsql-9.6/bin:$PATH -RUN pip3 install cython kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil Django==3.0.9 djangorestframework==3.11.1 djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc jsonschema comet pyxb==1.2.5 graphviz isodate astropy packaging django-debug-toolbar pymysql astroplan SimpleWebSocketServer +RUN pip3 install cython kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil Django==3.0.9 djangorestframework==3.11.1 djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc jsonschema comet pyxb==1.2.5 graphviz isodate astropy packaging django-debug-toolbar pymysql astroplan SimpleWebSocketServer websocket_client #Viewflow package RUN pip3 install django-material django-viewflow diff --git a/SAS/TMSS/services/websocket/test/CMakeLists.txt b/SAS/TMSS/services/websocket/test/CMakeLists.txt index 2d2c7976ced..251b9057f59 100644 --- a/SAS/TMSS/services/websocket/test/CMakeLists.txt +++ b/SAS/TMSS/services/websocket/test/CMakeLists.txt @@ -1,6 +1,9 @@ # $Id: CMakeLists.txt 32679 2015-10-26 09:31:56Z schaap $ if(BUILD_TESTING) + include(FindPythonModule) + find_python_module(websocket REQUIRED) # sudo pip3 install websocket_client + include(LofarCTest) lofar_add_test(t_websocket_service) -- GitLab