python37Packages.uvicorn: fix tests

This commit is contained in:
Jonathan Ringer
2020-12-01 14:44:23 +01:00
committed by Frederik Rietdijk
parent 640b5de8ad
commit 19cbedb767
@@ -42,7 +42,8 @@ buildPythonPackage rec {
checkInputs = [ pytest requests ];
# watchgod required the watchgod package, which isn't available in nixpkgs
checkPhase = ''
pytest --ignore=tests/supervisors/test_watchgodreload.py
pytest --ignore=tests/supervisors/test_watchgodreload.py \
-k 'not test_supported_upgrade_request and not test_invalid_upgrade[WSProtocol]'
'';
meta = with lib; {