python3Packages.aioresponses: update test part
This commit is contained in:
parent
b8a4d564f0
commit
4b9021644c
@ -1,12 +1,12 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, pythonOlder
|
|
||||||
, pbr
|
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, ddt
|
|
||||||
, asynctest
|
, asynctest
|
||||||
, pytest
|
, buildPythonPackage
|
||||||
|
, ddt
|
||||||
|
, fetchPypi
|
||||||
|
, pbr
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -30,13 +30,16 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
asynctest
|
asynctest
|
||||||
ddt
|
ddt
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Skip a test which makes requests to httpbin.org
|
disabledTests = [
|
||||||
checkPhase = ''
|
# Skip a test which makes requests to httpbin.org
|
||||||
pytest -k "not (test_address_as_instance_of_url_combined_with_pass_through or test_pass_through_with_origin_params)"
|
"test_address_as_instance_of_url_combined_with_pass_through"
|
||||||
'';
|
"test_pass_through_with_origin_params"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "aioresponses" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A helper to mock/fake web requests in python aiohttp package";
|
description = "A helper to mock/fake web requests in python aiohttp package";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user