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:
Aluísio Augusto Silva Gonçalves 2021-04-30 11:40:24 -03:00 committed by GitHub
parent 774550baf5
commit 0463f91e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" ];