From fd019e4495f09e2d7c7f334f59c1f2e85bf71856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 16 Nov 2022 00:09:59 +0100 Subject: [PATCH] python310Packages.pushover-complete: enable tests --- .../python-modules/pushover-complete/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pushover-complete/default.nix b/pkgs/development/python-modules/pushover-complete/default.nix index 33769af319d6..92131b52628d 100644 --- a/pkgs/development/python-modules/pushover-complete/default.nix +++ b/pkgs/development/python-modules/pushover-complete/default.nix @@ -4,9 +4,10 @@ , isPy27 , requests , six -, tox -, pytest +, pytestCheckHook , pythonOlder +, requests-toolbelt +, responses }: buildPythonPackage rec { @@ -25,11 +26,13 @@ buildPythonPackage rec { six ]; - checkInputs = [ pytest tox ]; + checkInputs = [ + pytestCheckHook + requests-toolbelt + responses + ]; - # Fails also on their travis right now: - # - https://travis-ci.org/scolby33/pushover_complete/builds?utm_medium=notification&utm_source=github_status - doCheck = pythonOlder "3.7"; + pythonImportsCheck = [ "pushover_complete" ]; meta = with lib; { description = "A Python package for interacting with *all* aspects of the Pushover API";