summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/sanic-auth/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/sanic-auth/default.nix b/pkgs/development/python-modules/sanic-auth/default.nix
index 4642b69f7d2e..ec1284af76d3 100644
--- a/pkgs/development/python-modules/sanic-auth/default.nix
+++ b/pkgs/development/python-modules/sanic-auth/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildPythonPackage, fetchPypi, pytest, sanic }:
+{ lib, buildPythonPackage, fetchPypi, sanic }:
buildPythonPackage rec {
pname = "Sanic-Auth";
@@ -11,11 +11,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ sanic ];
- checkInputs = [ pytest ];
+ # all tests fail
+ doCheck = false;
- checkPhase = ''
- pytest tests
- '';
+ pythonImportsCheck = [ "sanic_auth" ];
meta = with lib; {
description = "Simple Authentication for Sanic";