From de5e9a944c3a1507d955994a7c4e4758cfbcaebb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 Jan 2025 12:31:03 +0100 Subject: [PATCH] python313Packages.es-client: refactor tests --- .../python-modules/es-client/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/es-client/default.nix b/pkgs/development/python-modules/es-client/default.nix index 3d7f73248b65..49a1f30051c4 100644 --- a/pkgs/development/python-modules/es-client/default.nix +++ b/pkgs/development/python-modules/es-client/default.nix @@ -59,20 +59,15 @@ buildPythonPackage rec { pythonImportsCheck = [ "es_client" ]; disabledTests = [ - # Tests require network access + # Tests require local Elasticsearch instance "test_bad_version_raises" "test_basic_operation" - "test_basic_operation" "test_client_info" - "test_logging_options_ecs" - "test_logging_options_json" + "test_client_info" + "test_exit_if_not_master" "test_multiple_hosts_raises" - "test_non_dict_passed" "test_skip_version_check" - # Test wants to handle credentials - "test_logging_options_from_config_file" - # es_client.exceptions.ConfigurationError: Must populate both username and password, or leave both empty - "test_exit_if_not_master " + "TestCLIExample" ]; meta = with lib; {