From 7e4bc6d87741e8469ffcd00dc8004875ec9a95fe Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 24 Dec 2013 22:23:53 -0600 Subject: add test marks for various backend functionality --- pytest.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pytest.ini') diff --git a/pytest.ini b/pytest.ini index 723735ac..1aeb23fc 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,6 @@ [pytest] addopts = -r s +markers = + hmac: this test requires a backend providing HMACBackend + cipher: this test requires a backend providing CipherBackend + hash: this test requires a backend providing HashBackend -- cgit v1.2.3 From 5a8fdf82f396609ccb971d707edddea58f2d3917 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 26 Dec 2013 20:13:45 -0600 Subject: add mark that allows us to do skip tests on backends via decorators --- pytest.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'pytest.ini') diff --git a/pytest.ini b/pytest.ini index 1aeb23fc..36d4edc4 100644 --- a/pytest.ini +++ b/pytest.ini @@ -4,3 +4,4 @@ markers = hmac: this test requires a backend providing HMACBackend cipher: this test requires a backend providing CipherBackend hash: this test requires a backend providing HashBackend + supported: parametrized test requiring only_if and skip_message -- cgit v1.2.3