diff options
author | drebs <drebs@leap.se> | 2016-11-17 22:35:21 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-12 09:15:21 -0200 |
commit | 378a07113a713a7c25f0fb8510d18ecdae2198bd (patch) | |
tree | e1a0d7f7e6c1b252ea412b32d5f7e048e5db4326 /testing | |
parent | 87259d4210e3488b00876d7ec83a8cc21e341712 (diff) |
[test] rename benchmark tests directory and tag
Diffstat (limited to 'testing')
-rw-r--r-- | testing/tests/benchmarks/assets/cert_default.conf (renamed from testing/tests/perf/assets/cert_default.conf) | 0 | ||||
-rw-r--r-- | testing/tests/benchmarks/conftest.py (renamed from testing/tests/perf/conftest.py) | 0 | ||||
-rw-r--r-- | testing/tests/benchmarks/pytest.ini (renamed from testing/tests/perf/pytest.ini) | 0 | ||||
-rw-r--r-- | testing/tests/benchmarks/test_crypto.py (renamed from testing/tests/perf/test_crypto.py) | 2 | ||||
-rw-r--r-- | testing/tests/benchmarks/test_misc.py (renamed from testing/tests/perf/test_misc.py) | 2 | ||||
-rw-r--r-- | testing/tests/benchmarks/test_sqlcipher.py (renamed from testing/tests/perf/test_sqlcipher.py) | 2 | ||||
-rw-r--r-- | testing/tests/benchmarks/test_sync.py (renamed from testing/tests/perf/test_sync.py) | 2 | ||||
-rw-r--r-- | testing/tox.ini | 6 |
8 files changed, 7 insertions, 7 deletions
diff --git a/testing/tests/perf/assets/cert_default.conf b/testing/tests/benchmarks/assets/cert_default.conf index 8043cea3..8043cea3 100644 --- a/testing/tests/perf/assets/cert_default.conf +++ b/testing/tests/benchmarks/assets/cert_default.conf diff --git a/testing/tests/perf/conftest.py b/testing/tests/benchmarks/conftest.py index a9cc3464..a9cc3464 100644 --- a/testing/tests/perf/conftest.py +++ b/testing/tests/benchmarks/conftest.py diff --git a/testing/tests/perf/pytest.ini b/testing/tests/benchmarks/pytest.ini index 7a0508ce..7a0508ce 100644 --- a/testing/tests/perf/pytest.ini +++ b/testing/tests/benchmarks/pytest.ini diff --git a/testing/tests/perf/test_crypto.py b/testing/tests/benchmarks/test_crypto.py index a438ee49..ab586bea 100644 --- a/testing/tests/perf/test_crypto.py +++ b/testing/tests/benchmarks/test_crypto.py @@ -18,7 +18,7 @@ from leap.soledad.client import _crypto LIMIT = int(float(os.environ.get('SIZE_LIMIT', 50 * 1000 * 1000))) -pytestmark = pytest.mark.perf +pytestmark = pytest.mark.benchmark def create_doc_encryption(size): diff --git a/testing/tests/perf/test_misc.py b/testing/tests/benchmarks/test_misc.py index b45dc04e..2f32ad7c 100644 --- a/testing/tests/perf/test_misc.py +++ b/testing/tests/benchmarks/test_misc.py @@ -1,6 +1,6 @@ import pytest -pytestmark = pytest.mark.perf +pytestmark = pytest.mark.benchmark @pytest.mark.benchmark(group="test_instance") diff --git a/testing/tests/perf/test_sqlcipher.py b/testing/tests/benchmarks/test_sqlcipher.py index 807af6e9..7f8842bd 100644 --- a/testing/tests/perf/test_sqlcipher.py +++ b/testing/tests/benchmarks/test_sqlcipher.py @@ -5,7 +5,7 @@ import pytest from twisted.internet.defer import gatherResults -pytestmark = pytest.mark.perf +pytestmark = pytest.mark.benchmark def load_up(client, amount, payload, defer=True): diff --git a/testing/tests/perf/test_sync.py b/testing/tests/benchmarks/test_sync.py index 9bb20389..88afe9f8 100644 --- a/testing/tests/perf/test_sync.py +++ b/testing/tests/benchmarks/test_sync.py @@ -1,6 +1,6 @@ import pytest -pytestmark = pytest.mark.perf +pytestmark = pytest.mark.benchmark @pytest.inlineCallbacks diff --git a/testing/tox.ini b/testing/tox.ini index f6470c89..f720d0a6 100644 --- a/testing/tox.ini +++ b/testing/tox.ini @@ -4,7 +4,7 @@ skipsdist=True [testenv] basepython = python2.7 -commands = py.test -m "not perf" \ +commands = py.test -m "not benchmark" \ --cov-report=html \ --cov-report=term \ --cov=leap.soledad \ @@ -31,11 +31,11 @@ setenv = TERM=xterm install_command = pip install {opts} {packages} -[testenv:perf] +[testenv:benchmark] deps = {[testenv]deps} pytest-benchmark -commands = py.test -m perf {posargs} +commands = py.test -m benchmark {posargs} [testenv:code-check] changedir = .. |