summaryrefslogtreecommitdiff
path: root/testing/tests/benchmarks/test_crypto.py
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-11-19 21:52:30 -0300
committerdrebs <drebs@leap.se>2016-12-12 09:15:21 -0200
commit63c33b1b20e013571fb870205302bbc9e4a06e23 (patch)
treeae36bcfec4948f4625531d15c9b95bf5cbacdf86 /testing/tests/benchmarks/test_crypto.py
parentc26915bde89b970311d83956aea8255b8d5998e1 (diff)
[tests] use options instead of marks
When we use marks the new pytests from benchmarks folder are collected and ignored, but this causes trial to fail sometimes. Using --ignore avoids it from being loaded while --benchmark-only will properly select the benchmarks for tox, as intended.
Diffstat (limited to 'testing/tests/benchmarks/test_crypto.py')
-rw-r--r--testing/tests/benchmarks/test_crypto.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/testing/tests/benchmarks/test_crypto.py b/testing/tests/benchmarks/test_crypto.py
index ab586bea..367c3b5b 100644
--- a/testing/tests/benchmarks/test_crypto.py
+++ b/testing/tests/benchmarks/test_crypto.py
@@ -18,9 +18,6 @@ from leap.soledad.client import _crypto
LIMIT = int(float(os.environ.get('SIZE_LIMIT', 50 * 1000 * 1000)))
-pytestmark = pytest.mark.benchmark
-
-
def create_doc_encryption(size):
@pytest.mark.benchmark(group="test_crypto_encrypt_doc")
def test_doc_encryption(soledad_client, benchmark, payload):