diff options
author | drebs <drebs@leap.se> | 2017-07-28 19:25:11 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-09-11 16:24:30 -0300 |
commit | f6a409a711df032507cbe3dd1f1129c1b7e19c95 (patch) | |
tree | 4fcd268feda87acee8204eeff710597c66455cb4 /testing/tests/conftest.py | |
parent | 99cffc7388d53f9aaf5b8890401ba8ddc5b29178 (diff) |
[benchmarks] post responsiveness tests to elasticsearch
Diffstat (limited to 'testing/tests/conftest.py')
-rw-r--r-- | testing/tests/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/tests/conftest.py b/testing/tests/conftest.py index 6ce97625..857934ff 100644 --- a/testing/tests/conftest.py +++ b/testing/tests/conftest.py @@ -59,6 +59,12 @@ def pytest_addoption(parser): help="Soledad Server URL. A local server will be started if and only " "if no URL is passed.") + # the following option is only used in responsiveness tests, but has to be + # defined here due to how pytest discovers plugins during startup. + parser.addoption( + "--elasticsearch-url", type="string", default=None, + help="the url for posting responsiveness results to elasticsearch") + def _request(method, url, data=None, do=True): if do: |