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

29 lines
429 B
Nix
Raw Normal View History

{ buildPythonPackage
, pytest-asyncio
, pytestCheckHook
, sanic-testing
, setuptools
}:
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
setuptools
];
pythonImportsCheck = [
"sanic_testing"
];
}