git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit0463f91e04abbe37e7a7ea46e970357529aba324 authorAluísio Augusto Silva Gonçalves <1904165+AluisioASG@users.noreply.github.com> dateFri 30 Apr 2021, 11:40 (6 years ago) parent774550b
1 file changed+2−2
pkgs/development/python-modules/sanic-auth/default.nix+2−2
pkgs/development/python-modules/sanic-auth/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ lib, buildPythonPackage, fetchPypi, sanic, pytestCheckHook }:
1+{ lib, buildPythonPackage, fetchPypi, sanic, sanic-testing, pytestCheckHook }:
22
33buildPythonPackage rec {
44 pname = "Sanic-Auth";
@@ -11,7 +11,7 @@ buildPythonPackage rec {
1111
1212 propagatedBuildInputs = [ sanic ];
1313
14− checkInputs = [ pytestCheckHook ];
14+ checkInputs = [ pytestCheckHook sanic-testing ];
1515
1616 pythonImportsCheck = [ "sanic_auth" ];
1717