My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/uvicorn/tests.nix

40 lines
563 B

{ stdenv
, buildPythonPackage
, uvicorn
, httpx
, pytest-asyncio
, pytestCheckHook
, pytest-mock
, requests
, trustme
}:
buildPythonPackage rec {
pname = "uvicorn-tests";
inherit (uvicorn) version;
src = uvicorn.testsout;
dontBuild = true;
dontInstall = true;
checkInputs = [
uvicorn
httpx
pytestCheckHook
pytest-asyncio
pytest-mock
requests
trustme
];
doCheck = !stdenv.isDarwin;
__darwinAllowLocalNetworking = true;
disabledTests = [
"test_supported_upgrade_request"
"test_invalid_upgrade"
];
}