elastic / elasticsearch-docker

Official Elasticsearch Docker image
Apache License 2.0
791 stars 240 forks source link

Do not hard code pytest path #230

Closed umrashrf closed 5 years ago

umrashrf commented 5 years ago

Why is this hardcoded?

Does this PR include tests? No

elasticsearch-docker is developed under a test-driven workflow, so please refrain from submitting patches without test coverage. If you are not familiar with testing in Python, please raise an issue instead.

jarpy commented 5 years ago

Why is this hardcoded?

To ensure that we are always running the pytest (and other dependencies) that are installed in the virtualenv for this project, without requiring the user to "activate" the virtualenv.