python310Packages.pushover-complete: enable tests

This commit is contained in:
Sandro Jäckel 2022-11-16 00:09:59 +01:00
parent e4d99ffc58
commit fd019e4495
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -4,9 +4,10 @@
, isPy27 , isPy27
, requests , requests
, six , six
, tox , pytestCheckHook
, pytest
, pythonOlder , pythonOlder
, requests-toolbelt
, responses
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,11 +26,13 @@ buildPythonPackage rec {
six six
]; ];
checkInputs = [ pytest tox ]; checkInputs = [
pytestCheckHook
requests-toolbelt
responses
];
# Fails also on their travis right now: pythonImportsCheck = [ "pushover_complete" ];
# - https://travis-ci.org/scolby33/pushover_complete/builds?utm_medium=notification&utm_source=github_status
doCheck = pythonOlder "3.7";
meta = with lib; { meta = with lib; {
description = "A Python package for interacting with *all* aspects of the Pushover API"; description = "A Python package for interacting with *all* aspects of the Pushover API";