Skip to content

Commit 1eb3bcd

Browse files
authored
python313Packages.es-client: refactor tests (NixOS#372344)
2 parents 04308e4 + de5e9a9 commit 1eb3bcd

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

pkgs/development/python-modules/es-client/default.nix

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,15 @@ buildPythonPackage rec {
5959
pythonImportsCheck = [ "es_client" ];
6060

6161
disabledTests = [
62-
# Tests require network access
62+
# Tests require local Elasticsearch instance
6363
"test_bad_version_raises"
6464
"test_basic_operation"
65-
"test_basic_operation"
6665
"test_client_info"
67-
"test_logging_options_ecs"
68-
"test_logging_options_json"
66+
"test_client_info"
67+
"test_exit_if_not_master"
6968
"test_multiple_hosts_raises"
70-
"test_non_dict_passed"
7169
"test_skip_version_check"
72-
# Test wants to handle credentials
73-
"test_logging_options_from_config_file"
74-
# es_client.exceptions.ConfigurationError: Must populate both username and password, or leave both empty
75-
"test_exit_if_not_master "
70+
"TestCLIExample"
7671
];
7772

7873
meta = with lib; {

0 commit comments

Comments
 (0)