summaryrefslogtreecommitdiff
path: root/testing/tests/perf
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-07-27 18:13:01 -0300
committerdrebs <drebs@leap.se>2016-08-01 21:09:04 -0300
commitc889ba67158850763394fc6087b0837716866cd1 (patch)
tree4361a85c5faa6198be25fa6140459d31f9be1502 /testing/tests/perf
parent682aab0b30e479ea4e826f0636340bb100b36c0a (diff)
[test] remove duplicated function declaration
`pytest_addoption` was declared twice making the second declaration replace the first, thus removing couch url parameter.
Diffstat (limited to 'testing/tests/perf')
-rw-r--r--testing/tests/perf/conftest.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/testing/tests/perf/conftest.py b/testing/tests/perf/conftest.py
index 463c791a..5ec047e4 100644
--- a/testing/tests/perf/conftest.py
+++ b/testing/tests/perf/conftest.py
@@ -24,9 +24,6 @@ def pytest_addoption(parser):
parser.addoption(
"--couch-url", type="string", default="http://127.0.0.1:5984",
help="the url for the couch server to be used during tests")
-
-
-def pytest_addoption(parser):
parser.addoption(
"--num-docs", type="int", default=100,
help="the number of documents to use in performance tests")