lol

python3Packages.aioresponses: update test part

+13 -10
+13 -10
pkgs/development/python-modules/aioresponses/default.nix
··· 1 1 { lib 2 + , aiohttp 3 + , asynctest 2 4 , buildPythonPackage 5 + , ddt 3 6 , fetchPypi 4 - , pythonOlder 5 7 , pbr 6 - , aiohttp 7 - , ddt 8 - , asynctest 9 - , pytest 8 + , pytestCheckHook 9 + , pythonOlder 10 10 }: 11 11 12 12 buildPythonPackage rec { ··· 30 30 checkInputs = [ 31 31 asynctest 32 32 ddt 33 - pytest 33 + pytestCheckHook 34 + ]; 35 + 36 + disabledTests = [ 37 + # Skip a test which makes requests to httpbin.org 38 + "test_address_as_instance_of_url_combined_with_pass_through" 39 + "test_pass_through_with_origin_params" 34 40 ]; 35 41 36 - # Skip a test which makes requests to httpbin.org 37 - checkPhase = '' 38 - pytest -k "not (test_address_as_instance_of_url_combined_with_pass_through or test_pass_through_with_origin_params)" 39 - ''; 42 + pythonImportsCheck = [ "aioresponses" ]; 40 43 41 44 meta = { 42 45 description = "A helper to mock/fake web requests in python aiohttp package";