python3Packages.falcon: enable more tests

main
Artturin 3 years ago
parent 3c5ffd288e
commit 4f163ad307
  1. 30
      pkgs/development/python-modules/falcon/default.nix
  2. 1
      pkgs/development/python-modules/mujson/default.nix

@ -1,17 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, fetchPypi
, pytestCheckHook
, aiofiles
, cbor2
, ddt
, gunicorn
, httpx
, hypercorn
, jsonschema
, msgpack
, mujson
, nose
, orjson
, pecan
, pytest-asyncio
, pytestCheckHook
, python-mimeparse
, pyyaml
, rapidjson
, requests
, testtools
, ujson
, uvicorn
, websockets
}:
@ -29,24 +40,31 @@ buildPythonPackage rec {
checkInputs = [
aiofiles
cbor2
ddt
gunicorn
httpx
hypercorn
jsonschema
msgpack
mujson
nose
orjson
pecan
pytest-asyncio
pytestCheckHook
python-mimeparse
pyyaml
rapidjson
requests
testtools
ujson
uvicorn
websockets
];
disabledTestPaths = [
# missing optional nuts package
"falcon/bench/nuts/nuts/tests/test_functional.py"
# missing optional mujson package
"tests/test_media_handlers.py"
# tries to run uvicorn binary and doesn't find it
"tests/asgi/test_asgi_servers.py"
];
meta = with lib; {

@ -21,6 +21,7 @@ buildPythonPackage rec {
# No tests
doCheck = false;
pythonImportsCheck = [ "mujson" ];
meta = with lib; {
description = "Use the fastest JSON functions available at import time";

Loading…
Cancel
Save