Commit Graph
92 Commits
Author SHA1 Message Date
Boaz Leskes 1e52c17d1a updated source filtering tests and spec
Fixed id tests to be strings.
Changed the _source_* param of get_source as they have changed in core.
2013-10-08 18:18:20 +02:00
Honza Kral 44ed34771e Better tests for the bulk_index helper 2013-10-06 17:54:07 +02:00
Honza Kral cc524e9c9d Python 3 fix fo tests 2013-10-06 17:43:45 +02:00
Honza Kral 92c7dde5e0 Removing redundant code 2013-10-02 01:04:50 +02:00
Njal KarevollandHonza Kral 6a0f5c7646 urllib3: add a test to verify that providing http_auth as a list works 2013-10-02 01:01:30 +02:00
Honza Kral 1a9fd9e105 Remove duplicate test 2013-10-02 01:01:05 +02:00
Njal KarevollandHonza Kral 4037de58d0 requests: add tests to verify that providing http_auth as a list works and that the authorization headers are added to the request 2013-10-02 01:00:11 +02:00
Honza Kral a24337ca6b Updated rest api specs 2013-10-02 00:54:39 +02:00
Honza Kral 5fccd1e793 Allow lists for http_auth in RequestsHttpConnection
thanks nkvoll!
2013-10-02 00:42:38 +02:00
Honza Kral b0587071b6 Circumvent prepared requests from RequestsHttpConnection
this is because sesion.send(prepared_request) doesn't pass through auth
info. Thanks nkvoll!

Fixes #8
2013-10-02 00:39:19 +02:00
Honza Kral 17c4a3dd21 stats_only parameter to bulk_index helper for large loads` 2013-09-30 19:05:12 +02:00
Honza Kral 8da490e672 Even when using existing server wait for yellow status before proceeding
This should solve travis issues where ES is run just before the test
suite.
2013-09-28 15:51:24 +02:00
Honza Kral 49a23db148 New spec repo version 2013-09-25 23:10:30 +02:00
Honza Kral 5c76e7c96c Run yaml test suite correctly - one test per test method 2013-09-25 23:07:52 +02:00
Honza Kral 33b05bdc62 Thrift SSL support 2013-09-25 21:31:10 +02:00
Honza Kral 490fd237ee rename use_https to use_ssl to make it forwards copatible with thrift 2013-09-25 21:07:29 +02:00
Honza Kral b724288d76 Https support for the http-based transports.
Thanks, nkvoll!
2013-09-24 23:07:14 +02:00
Honza Kral 7a440fda4a Support for HTTP auth. Thanks, nkvoll! 2013-09-24 22:55:04 +02:00
Honza Kral 56c77f0bd0 Switch to using git submodules for the yaml tests 2013-09-23 17:12:14 +02:00
Honza Kral 402fca0e32 remove all templates in teardown 2013-09-23 14:20:16 +02:00
Honza Kral e123008851 Added tox.ini to runtests on multiple python envs
Also updated python setup.py test to run in CI configuration
2013-09-02 20:57:59 -05:00
Honza Kral f603a834ca Use one global client instance for all test runs 2013-08-28 19:24:11 +02:00
Honza Kral fe7cc106f6 Use unittest2 even for python 2.6 2013-08-28 19:11:28 +02:00
Honza Kral d180e62a99 Revert "Support python 2.6"
This reverts commit 158f6e6183.
2013-08-28 19:02:42 +02:00
Honza Kral d306085789 Skips are ok 2013-08-27 04:19:37 +02:00
Honza Kral 158f6e6183 Support python 2.6 2013-08-27 04:07:52 +02:00
Honza Kral 610226e91c Support for running different connection class in tests 2013-08-27 02:53:01 +02:00
Honza Kral 38ba61d511 Fix memcached tests for py3 2013-08-25 18:01:45 +02:00
Honza Kral 39bcd81957 Minor fixes 2013-08-25 17:58:30 +02:00
Honza Kral e91ed68bd0 Split individual connection classes 2013-08-25 16:39:56 +02:00
Honza Kral 56e314f5b0 Experimental memcached protocol.
Only works with python 2 now
2013-08-11 02:17:20 +02:00
Honza Kral 97257c872d typo 2013-08-08 18:06:07 +02:00
Honza Kral af0202d89f slightly simpler tests 2013-08-01 16:04:56 +02:00
Honza Kral 1ee42ca17c Added a simple reindex helper 2013-08-01 15:05:29 +02:00
Honza Kral 29977efff4 Added a convenient scan heper API to iterate over docs 2013-08-01 14:57:08 +02:00
Honza Kral 5b1a2fd650 bulk_index helper to easily load docs into ES 2013-08-01 14:48:39 +02:00
Honza Kral 6cfde42985 Extract ElasticTestCase from YamlTestCase 2013-08-01 14:47:34 +02:00
Honza Kral 388a56ea2c Provide sane defults for YAML tests 2013-07-31 17:51:42 +02:00
Honza Kral bf23436c27 Version can contain non-number elements like beta etc 2013-07-23 20:43:05 +02:00
Honza Kral 65349034e8 Enable \. in yaml lookups 2013-07-22 00:48:52 +02:00
Honza Kral 982ce508be handle dots in yaml test dirs' names 2013-07-15 14:43:58 +02:00
Honza Kral 39bd7a92e2 Added tests for unicode/utf-encoded strings in url 2013-07-14 15:57:06 +02:00
Honza Kral 2468accd29 YamlTestCase fixes 2013-07-12 18:22:06 +02:00
Honza Kral 95f42df6db Support running the integration tests on an already running cluster 2013-07-12 18:08:51 +02:00
Honza Kral 30242ad277 is_false in yaml can also mean does not exist 2013-07-11 02:31:40 +02:00
Honza Kral 480b147b63 Skip yaml command 2013-07-11 02:00:28 +02:00
Honza Kral 3b5ece5bad Refactored yaml execution code 2013-07-10 17:03:48 +02:00
Honza Kral 415f45adf4 Support for set and is_true yaml commands 2013-07-10 16:43:20 +02:00
Honza Kral 02e632f17a removing extra imports 2013-07-10 16:17:53 +02:00
Honza Kral d179ab20c9 Include the number of the yaml file for easier debugging 2013-07-10 14:32:44 +02:00