Skip to content
Permalink
Browse files

Fixed command to run tests in README. (#594)

  • Loading branch information...
RatanShreshtha authored and HonzaKral committed Feb 18, 2017
1 parent eedde50 commit 7d06d3ce649df699daa8fe573037a0b731901a22
Showing with 2 additions and 2 deletions.
  1. +2 −2 README
4 README
@@ -239,10 +239,10 @@ examples can be seen below:
.. code:: bash

# Run all of the tests in `test_elasticsearch_dsl/test_analysis.py`
$ ./run_tests test_elasticsearch_dsl/test_analysis.py
$ ./run_tests.py test_analysis.py

# Run only the `test_analyzer_serializes_as_name` test.
$ ./run_tests test_elasticsearch_dsl/test_analysis.py::test_analyzer_serializes_as_name
$ ./run_tests.py test_analysis.py::test_analyzer_serializes_as_name

``pytest`` will skip tests from ``test_elasticsearch_dsl/test_integration``
unless there is an instance of Elasticsearch on which a connection can occur.

0 comments on commit 7d06d3c

Please sign in to comment.
You can’t perform that action at this time.