From 5bb40ab7979a6e0f096d9f1c68415e19ae3ee01b Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 8 Jun 2020 12:19:41 -0700 Subject: [PATCH] python3Packages.python-dotenv: fix tests --- pkgs/development/python-modules/python-dotenv/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python-dotenv/default.nix b/pkgs/development/python-modules/python-dotenv/default.nix index e72c27acc345..51ca3be32c7d 100644 --- a/pkgs/development/python-modules/python-dotenv/default.nix +++ b/pkgs/development/python-modules/python-dotenv/default.nix @@ -4,6 +4,7 @@ , pytest , sh , typing +, mock }: buildPythonPackage rec { @@ -17,7 +18,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ click ] ++ lib.optionals isPy27 [ typing ]; - checkInputs = [ ipython pytest sh ]; + checkInputs = [ ipython mock pytest sh ]; # cli tests are impure checkPhase = ''