From 057fe69464292f0685f50aac16b4e9428d2b9e07 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 19 Jul 2026 03:05:42 +0200 Subject: [PATCH] python3Packages.ciscomobilityexpress: remove hardcoded checkPhase --- .../python-modules/ciscomobilityexpress/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/ciscomobilityexpress/default.nix b/pkgs/development/python-modules/ciscomobilityexpress/default.nix index 502d189c17dc..fc2f4d186d96 100644 --- a/pkgs/development/python-modules/ciscomobilityexpress/default.nix +++ b/pkgs/development/python-modules/ciscomobilityexpress/default.nix @@ -4,7 +4,7 @@ fetchPypi, setuptools, requests, - python, + pytestCheckHook, }: buildPythonPackage (finalAttrs: { @@ -23,10 +23,7 @@ buildPythonPackage (finalAttrs: { dependencies = [ requests ]; - # tests directory is set up, but has no tests - checkPhase = '' - ${python.interpreter} -m unittest - ''; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "ciscomobilityexpress" ];