python311Packages.asyncwhois: disable tests which require network access
This commit is contained in:
parent
514cba75b2
commit
38d82e90c6
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, python-socks
|
||||
|
@ -18,7 +19,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pogzyb";
|
||||
repo = pname;
|
||||
repo = "asyncwhois";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-OiDi9hD2IDDfQoQoPhLpClBnJyI/wlZfGyzqmVI94yA=";
|
||||
};
|
||||
|
@ -30,6 +31,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -52,6 +54,8 @@ buildPythonPackage rec {
|
|||
"test_whois_query_run"
|
||||
"test_whois_query_create_connection"
|
||||
"test_whois_query_send_and_recv"
|
||||
"test_input_parameters_for_domain_query"
|
||||
"test__get_top_level_domain"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
|
Loading…
Reference in a new issue