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
081c4e37
Commit
081c4e37
authored
Mar 15, 2019
by
oroulet
Committed by
oroulet
Mar 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make `python3 setup.py test` work
parent
f41327f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
63 deletions
+41
-63
setup.cfg
setup.cfg
+2
-0
setup.py
setup.py
+39
-37
tests/tests.py
tests/tests.py
+0
-26
No files found.
setup.cfg
View file @
081c4e37
[aliases]
test=pytest
[flake8]
max-line-length = 120
exclude = opcua/ua/,opcua/common/event_objects.py,opcua/server/standard_address_space/standard_address_space*.py
setup.py
View file @
081c4e37
from
setuptools
import
setup
,
find_packages
setup
(
name
=
"asyncua"
,
version
=
"0.5.0"
,
description
=
"Pure Python OPC-UA client and server library"
,
author
=
"Olivier Roulet-Dubonnet"
,
author_email
=
"olivier.roulet@gmail.com"
,
url
=
'http://freeopcua.github.io/'
,
packages
=
find_packages
(),
provides
=
[
"asyncua"
],
license
=
"GNU Lesser General Public License v3 or later"
,
install_requires
=
[
"aiofiles"
,
"asyncio-contextmanager"
,
"python-dateutil"
,
"pytz"
,
"lxml"
],
extras_require
=
{
'encryption'
:
[
'cryptography'
]
},
classifiers
=
[
"Programming Language :: Python :: 3.6"
,
"Programming Language :: Python :: 3.7"
,
"Development Status :: 4 - Beta"
,
"Intended Audience :: Developers"
,
"Operating System :: OS Independent"
,
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)"
,
"Topic :: Software Development :: Libraries :: Python Modules"
,
],
entry_points
=
{
'console_scripts'
:
[
'uaread = asyncua.tools:uaread'
,
'uals = asyncua.tools:uals'
,
'uabrowse = asyncua.tools:uals'
,
'uawrite = asyncua.tools:uawrite'
,
'uasubscribe = asyncua.tools:uasubscribe'
,
'uahistoryread = asyncua.tools:uahistoryread'
,
'uaclient = asyncua.tools:uaclient'
,
'uaserver = asyncua.tools:uaserver'
,
'uadiscover = asyncua.tools:uadiscover'
,
'uacall = asyncua.tools:uacall'
,
'uageneratestructs = asyncua.tools:uageneratestructs'
,
]
}
)
setup
(
name
=
"asyncua"
,
version
=
"0.5.0"
,
description
=
"Pure Python OPC-UA client and server library"
,
author
=
"Olivier Roulet-Dubonnet"
,
author_email
=
"olivier.roulet@gmail.com"
,
url
=
'http://freeopcua.github.io/'
,
packages
=
find_packages
(),
provides
=
[
"asyncua"
],
license
=
"GNU Lesser General Public License v3 or later"
,
install_requires
=
[
"aiofiles"
,
"asyncio-contextmanager"
,
"python-dateutil"
,
"pytz"
,
"lxml"
],
extras_require
=
{
'encryption'
:
[
'cryptography'
]},
classifiers
=
[
"Programming Language :: Python :: 3.6"
,
"Programming Language :: Python :: 3.7"
,
"Development Status :: 4 - Beta"
,
"Intended Audience :: Developers"
,
"Operating System :: OS Independent"
,
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)"
,
"Topic :: Software Development :: Libraries :: Python Modules"
,
],
entry_points
=
{
'console_scripts'
:
[
'uaread = asyncua.tools:uaread'
,
'uals = asyncua.tools:uals'
,
'uabrowse = asyncua.tools:uals'
,
'uawrite = asyncua.tools:uawrite'
,
'uasubscribe = asyncua.tools:uasubscribe'
,
'uahistoryread = asyncua.tools:uahistoryread'
,
'uaclient = asyncua.tools:uaclient'
,
'uaserver = asyncua.tools:uaserver'
,
'uadiscover = asyncua.tools:uadiscover'
,
'uacall = asyncua.tools:uacall'
,
'uageneratestructs = asyncua.tools:uageneratestructs'
,
]
},
setup_requires
=
[
'pytest-runner'
],
tests_require
=
[
'pytest'
],
)
tests/tests.py
deleted
100644 → 0
View file @
f41327f0
import
unittest
import
logging
import
sys
sys
.
path
.
insert
(
0
,
".."
)
sys
.
path
.
insert
(
0
,
"."
)
from
tests_cmd_lines
import
TestCmdLines
from
tests_server
import
TestServer
,
TestServerCaching
,
TestServerStartError
from
tests_client
import
TestClient
from
tests_standard_address_space
import
StandardAddressSpaceTests
from
tests_unit
import
TestUnit
,
TestMaskEnum
from
tests_history
import
TestHistory
,
TestHistorySQL
,
TestHistoryLimits
,
TestHistorySQLLimits
from
tests_crypto_connect
import
TestCryptoConnect
from
tests_uaerrors
import
TestUaErrors
from
tests_custom_structures
import
TypeDictionaryBuilderTest
if
__name__
==
'__main__'
:
logging
.
basicConfig
(
level
=
logging
.
WARNING
)
#l = logging.getLogger("asyncua.server.internal_subscription")
#l.setLevel(logging.DEBUG)
#l = logging.getLogger("asyncua.server.internal_server")
#l.setLevel(logging.DEBUG)
unittest
.
main
(
verbosity
=
3
)
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