From aefee8624d29473c68017f15abe9cf693dcdcdb5 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 20 Jun 2020 09:42:45 -0700 Subject: [PATCH] python3Packages.requests-file: fix tests --- pkgs/development/python-modules/requests-file/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/requests-file/default.nix b/pkgs/development/python-modules/requests-file/default.nix index fb375fd501a..374627a1bb9 100644 --- a/pkgs/development/python-modules/requests-file/default.nix +++ b/pkgs/development/python-modules/requests-file/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchPypi, buildPythonPackage, requests, six }: +{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, requests, six }: buildPythonPackage rec { pname = "requests-file"; @@ -11,6 +11,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ requests six ]; + checkInputs = [ pytestCheckHook ]; + meta = { homepage = "https://github.com/dashea/requests-file"; description = "Transport adapter for fetching file:// URLs with the requests python library";