diff --git a/pkgs/development/python-modules/asyncua/default.nix b/pkgs/development/python-modules/asyncua/default.nix index 137c9e2a4efd..7e36099f186c 100644 --- a/pkgs/development/python-modules/asyncua/default.nix +++ b/pkgs/development/python-modules/asyncua/default.nix @@ -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";