nixpkgs/pkgs/development/python-modules/sanic-testing/tests.nix
2023-05-24 13:15:45 +03:00

27 lines
401 B
Nix

{ buildPythonPackage
, sanic-testing
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage {
pname = "sanic-testing-tests";
inherit (sanic-testing) version;
src = sanic-testing.testsout;
format = "other";
dontBuild = true;
dontInstall = true;
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
sanic-testing
];
pythonImportsCheck = [
"sanic_testing"
];
}