mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
python3Packages.asyncua: reenable cli tools test
This commit is contained in:
parent
a6845fbcc1
commit
5ede42623a
@ -33,6 +33,11 @@ buildPythonPackage rec {
|
||||
# https://github.com/FreeOpcUa/opcua-asyncio/issues/1263
|
||||
substituteInPlace setup.py \
|
||||
--replace ", 'asynctest'" ""
|
||||
|
||||
# Workaround hardcoded paths in test
|
||||
# "test_cli_tools_which_require_sigint"
|
||||
substituteInPlace tests/test_tools.py \
|
||||
--replace "tools/" "$out/bin/"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -55,11 +60,6 @@ buildPythonPackage rec {
|
||||
"asyncua"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Hard coded path only works from root of src
|
||||
"test_cli_tools_which_require_sigint"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OPC UA / IEC 62541 Client and Server for Python";
|
||||
homepage = "https://github.com/FreeOpcUa/opcua-asyncio";
|
||||
|
Loading…
Reference in New Issue
Block a user