Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
16db1975
Commit
16db1975
authored
May 14, 2016
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
split subscription tests, add tests for several events
parent
ea8eeaf2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
530 deletions
+6
-530
tests/tests_client.py
tests/tests_client.py
+2
-1
tests/tests_common.py
tests/tests_common.py
+0
-527
tests/tests_server.py
tests/tests_server.py
+4
-2
No files found.
tests/tests_client.py
View file @
16db1975
...
...
@@ -4,12 +4,13 @@ from opcua import Client
from
opcua
import
Server
from
opcua
import
ua
from
tests_subscriptions
import
SubscriptionTests
from
tests_common
import
CommonTests
,
add_server_methods
port_num1
=
48510
class
TestClient
(
unittest
.
TestCase
,
CommonTests
):
class
TestClient
(
unittest
.
TestCase
,
CommonTests
,
SubscriptionTests
):
'''
Run common tests on client side
...
...
tests/tests_common.py
View file @
16db1975
This diff is collapsed.
Click to expand it.
tests/tests_server.py
View file @
16db1975
import
unittest
from
tests_common
import
CommonTests
,
add_server_methods
,
MySubHandler
import
os
import
shelve
import
time
from
tests_common
import
CommonTests
,
add_server_methods
from
tests_subscriptions
import
SubscriptionTests
from
datetime
import
timedelta
,
datetime
from
tempfile
import
NamedTemporaryFile
...
...
@@ -17,7 +19,7 @@ port_num = 485140
port_discovery
=
48550
class
TestServer
(
unittest
.
TestCase
,
CommonTests
):
class
TestServer
(
unittest
.
TestCase
,
CommonTests
,
SubscriptionTests
):
'''
Run common tests on server side
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment