depot/third_party/nixpkgs/pkgs/development/python-modules/sanic-testing/tests.nix

27 lines
375 B
Nix
Raw Normal View History

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