python3Packages.asyncua: reenable cli tools test

This commit is contained in:
Nicolas Benes 2023-04-10 11:19:48 +02:00
parent a6845fbcc1
commit 5ede42623a

View File

@ -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";