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 {
|
buildPythonPackage rec {
|
||||||
pname = "Sanic-Auth";
|
pname = "Sanic-Auth";
|
||||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ sanic ];
|
propagatedBuildInputs = [ sanic ];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook sanic-testing ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "sanic_auth" ];
|
pythonImportsCheck = [ "sanic_auth" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue