From a85692956dbf101617aa96c19f132e293c33aae9 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 6 Feb 2022 20:06:23 -0800 Subject: [PATCH] python3Packages.oslo-log: fix tests --- pkgs/development/python-modules/oslo-log/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/oslo-log/default.nix b/pkgs/development/python-modules/oslo-log/default.nix index dd2d69a0c23d..a2e6eac8e389 100644 --- a/pkgs/development/python-modules/oslo-log/default.nix +++ b/pkgs/development/python-modules/oslo-log/default.nix @@ -10,7 +10,7 @@ , pbr , pyinotify , python-dateutil -, stestr +, pytestCheckHook }: buildPythonPackage rec { @@ -36,12 +36,13 @@ buildPythonPackage rec { checkInputs = [ oslotest - stestr + pytestCheckHook ]; - checkPhase = '' - stestr run - ''; + disabledTests = [ + # not compatible with sandbox + "test_logging_handle_error" + ]; pythonImportsCheck = [ "oslo_log" ];