Seth Michael Larson and Seth Michael Larson
eaff4af910
[7.x] Switch to Pytest as default runner
2020-05-19 14:18:53 -05:00
Seth Michael Larson and GitHub
9cc48b3e66
Update new APIs in 7.x
2020-05-08 16:07:52 -05:00
Seth Michael Larson and Seth Michael Larson
8e1798cf31
Apply license header changes and API gen
2020-04-23 14:10:49 -05:00
Marshall Main and Honza Král
466ac7249e
use side effect call count instead of mock call count
2020-01-07 18:06:34 +00:00
Nick Lang and GitHub
1afceba69b
update to ES 7 ( #911 )
...
* update to ES 7
* more updates to make tests run
* update the test matrix
* remove python 3.3
* update xpack apis
* relative imports
2019-03-29 09:25:23 -06:00
Asher Mancinelli and Nick Lang
85573db275
Restructuring helpers dir ( #886 )
...
* PEP8 formatting & package structuring
* adding internal function imports into helpers init
* changed absolute paths for mock
* removed debugging print statements
* resolving @fxdgear 's comment
2019-01-14 11:27:02 -08:00
Nick Lang and GitHub
f3f7266c1f
better logic to handling unicode and chunking. ( #870 )
...
Chunking was looking at the length of a string but not accounting for the
byte length. closes #716
2018-11-26 10:58:47 -07:00
Nick Lang and GitHub
bafe65987c
Fixing flaky test wrt mock and threading. ( #875 )
...
* Fixing flaky test wrt mock and threading.
Mock is apparetnly not threadsafe, and as a result will sometimes
cause tests to fail when we want to count the number of times a
mock function is called.
I've replaced the mock function with a side_effect, which allows for
locking and incrementing manually.
* put threading.Lock in globals
2018-11-26 10:10:12 -07:00
Honza Král
7729c3048f
Python2 compatibility in tests
2015-10-11 23:59:26 +02:00
Honza Král
9d415fadef
Adding tests for indexing strings via bulk helpers
2015-10-11 05:00:14 +02:00
Honza Král
1378073e2d
Moved helpers unit tests to test_helpers
2015-10-11 04:50:31 +02:00
Honza Král
12c2a466e1
Basic tests for parallel_bulk
2015-10-11 04:47:02 +02:00