mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
python3Packages.sanic-auth: fix tests (#121279)
After #120881, packages using Sanic's `app.test_client` or `app.asgi_client` need to depend on `sanic-testing` as well.
This commit is contained in:
parent
774550baf5
commit
0463f91e04
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, sanic, pytestCheckHook }:
|
||||
{ lib, buildPythonPackage, fetchPypi, sanic, sanic-testing, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Sanic-Auth";
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ sanic ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [ pytestCheckHook sanic-testing ];
|
||||
|
||||
pythonImportsCheck = [ "sanic_auth" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user