From 6a9a4fe0d46263d4d158803d4a82851e240e0e63 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 24 Apr 2020 05:08:56 +0100 Subject: Tests: introduced module version specification in prerequisites. --- test/test_node_websockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_node_websockets.py') diff --git a/test/test_node_websockets.py b/test/test_node_websockets.py index 4ce727db..14921991 100644 --- a/test/test_node_websockets.py +++ b/test/test_node_websockets.py @@ -6,7 +6,7 @@ from unit.applications.websockets import TestApplicationWebsocket class TestNodeWebsockets(TestApplicationNode): - prerequisites = {'modules': ['node']} + prerequisites = {'modules': {'node': 'any'}} ws = TestApplicationWebsocket() -- cgit From ce4a2bbd05f42d258f9bf7880060a604ac1a866e Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 15 May 2020 04:20:56 +0100 Subject: Tests: style. --- test/test_node_websockets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_node_websockets.py') diff --git a/test/test_node_websockets.py b/test/test_node_websockets.py index 14921991..1928d8c9 100644 --- a/test/test_node_websockets.py +++ b/test/test_node_websockets.py @@ -1,6 +1,7 @@ -import time import struct +import time import unittest + from unit.applications.lang.node import TestApplicationNode from unit.applications.websockets import TestApplicationWebsocket -- cgit