Commit 16db1975 authored by olivier R-D's avatar olivier R-D

split subscription tests, add tests for several events

parent ea8eeaf2
...@@ -4,12 +4,13 @@ from opcua import Client ...@@ -4,12 +4,13 @@ from opcua import Client
from opcua import Server from opcua import Server
from opcua import ua from opcua import ua
from tests_subscriptions import SubscriptionTests
from tests_common import CommonTests, add_server_methods from tests_common import CommonTests, add_server_methods
port_num1 = 48510 port_num1 = 48510
class TestClient(unittest.TestCase, CommonTests): class TestClient(unittest.TestCase, CommonTests, SubscriptionTests):
''' '''
Run common tests on client side Run common tests on client side
......
This diff is collapsed.
import unittest import unittest
from tests_common import CommonTests, add_server_methods, MySubHandler
import os import os
import shelve import shelve
import time import time
from tests_common import CommonTests, add_server_methods
from tests_subscriptions import SubscriptionTests
from datetime import timedelta, datetime from datetime import timedelta, datetime
from tempfile import NamedTemporaryFile from tempfile import NamedTemporaryFile
...@@ -17,7 +19,7 @@ port_num = 485140 ...@@ -17,7 +19,7 @@ port_num = 485140
port_discovery = 48550 port_discovery = 48550
class TestServer(unittest.TestCase, CommonTests): class TestServer(unittest.TestCase, CommonTests, SubscriptionTests):
''' '''
Run common tests on server side Run common tests on server side
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment