This is an automated email from the git hooks/post-receive script.
mhonek pushed a commit to branch master
in repository 389-ds-base.
The following commit(s) were added to refs/heads/master by this push:
new b3dec42 Revert "Issue 51017 - Implement dynamic ds/bz pytest markers"
b3dec42 is described below
commit b3dec427f1ab79c731aaa079e2769aac6f002bbc
Author: Matus Honek <mhonek(a)redhat.com>
AuthorDate: Thu May 14 13:22:37 2020 +0200
Revert "Issue 51017 - Implement dynamic ds/bz pytest markers"
Apparently, in some situations, grepping over all the files gets very
slow due to filesystem implementation (e.g. docker on MacOS) specifics.
Instead of this implementation, we'll rather look into pre-commit hooks
adding new markings on the fly.
This reverts commit 6a7a154159583c09fcbba0578eaf576d577ccb11.
Relates:
https://pagure.io/389-ds-base/issue/51017
---
dirsrvtests/conftest.py | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/dirsrvtests/conftest.py b/dirsrvtests/conftest.py
index 1577bc9..1ac02fa 100644
--- a/dirsrvtests/conftest.py
+++ b/dirsrvtests/conftest.py
@@ -12,17 +12,6 @@ from enum import Enum
pkgs = ['389-ds-base', 'nss', 'nspr', 'openldap',
'cyrus-sasl']
p = Paths()
-
-def pytest_configure(config):
- """Auto add custom markers we use to reference upstream/bugzilla
tickets."""
- prefix = '(a)pytest.mark.'
- cmd = ['grep', '-rh', f'^{prefix}\\(ds\\|bz\\)[0-9]\\+']
- p = subprocess.run(cmd, check=True, stdout=subprocess.PIPE)
- markers = {x[len(prefix):] for x in p.stdout.decode().splitlines()}
- for m in markers:
- config.addinivalue_line('markers', m)
-
-
class FIPSState(Enum):
ENABLED = 'enabled'
DISABLED = 'disabled'
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.