diff options
| author | Aluísio Augusto Silva Gonçalves <1904165+AluisioASG@users.noreply.github.com> | 2021-04-30 11:40:24 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 16:40:24 +0200 |
| commit | 0463f91e04abbe37e7a7ea46e970357529aba324 (patch) | |
| tree | eda7fc001a173ba225a0ffc6ed2079fd60ca5903 /pkgs/development/python-modules | |
| parent | 774550baf5d036e686b6a31cc6b3a5efdece0aca (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/sanic-auth/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/sanic-auth/default.nix b/pkgs/development/python-modules/sanic-auth/default.nix index c78b6f13d152..38d73d461c2d 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, 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" ]; |
