├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── elasticmock ├── __init__.py ├── behaviour │ ├── __init__.py │ └── server_failure.py ├── fake_cluster.py ├── fake_elasticsearch.py ├── fake_indices.py └── utilities │ ├── __init__.py │ └── decorator.py ├── requirements.txt ├── requirements_test.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── fake_cluster │ ├── __init__.py │ └── test_health.py ├── fake_elasticsearch │ ├── __init__.py │ ├── behaviour │ │ ├── __init__.py │ │ └── test_server_failure.py │ ├── test_bulk.py │ ├── test_count.py │ ├── test_delete.py │ ├── test_exists.py │ ├── test_get.py │ ├── test_index.py │ ├── test_info.py │ ├── test_instance.py │ ├── test_ping.py │ ├── test_scroll.py │ ├── test_search.py │ └── test_suggest.py ├── fake_indices │ ├── __init__.py │ ├── test_create.py │ ├── test_delete.py │ ├── test_exists.py │ └── test_refresh.py └── tox_banner.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/README.md -------------------------------------------------------------------------------- /elasticmock/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/__init__.py -------------------------------------------------------------------------------- /elasticmock/behaviour/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/behaviour/__init__.py -------------------------------------------------------------------------------- /elasticmock/behaviour/server_failure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/behaviour/server_failure.py -------------------------------------------------------------------------------- /elasticmock/fake_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/fake_cluster.py -------------------------------------------------------------------------------- /elasticmock/fake_elasticsearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/fake_elasticsearch.py -------------------------------------------------------------------------------- /elasticmock/fake_indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/fake_indices.py -------------------------------------------------------------------------------- /elasticmock/utilities/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/utilities/__init__.py -------------------------------------------------------------------------------- /elasticmock/utilities/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/elasticmock/utilities/decorator.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | elasticsearch>=1.9.0,<8.0.0 2 | ipdb 3 | python-dateutil -------------------------------------------------------------------------------- /requirements_test.txt: -------------------------------------------------------------------------------- 1 | tox 2 | parameterized -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/fake_cluster/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /tests/fake_cluster/test_health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_cluster/test_health.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /tests/fake_elasticsearch/behaviour/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/behaviour/__init__.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/behaviour/test_server_failure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/behaviour/test_server_failure.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_bulk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_bulk.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_count.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_delete.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_exists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_exists.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_get.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_get.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_index.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_info.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_instance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_instance.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_ping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_ping.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_scroll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_scroll.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_search.py -------------------------------------------------------------------------------- /tests/fake_elasticsearch/test_suggest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_elasticsearch/test_suggest.py -------------------------------------------------------------------------------- /tests/fake_indices/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /tests/fake_indices/test_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_indices/test_create.py -------------------------------------------------------------------------------- /tests/fake_indices/test_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_indices/test_delete.py -------------------------------------------------------------------------------- /tests/fake_indices/test_exists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_indices/test_exists.py -------------------------------------------------------------------------------- /tests/fake_indices/test_refresh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/fake_indices/test_refresh.py -------------------------------------------------------------------------------- /tests/tox_banner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tests/tox_banner.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vrcmarcos/elasticmock/HEAD/tox.ini --------------------------------------------------------------------------------