URL:
https://github.com/freeipa/freeipa/pull/1342
Author: tiran
Title: #1342: [Backport][ipa-4-6] Add workaround for pytest 3.3.0 bug
Action: opened
PR body:
"""
Backport of #1340
pytest is setting an env var PYTEST_CURRENT_TEST to the test name + test
parameters. If parameters happen to contain NULL bytes, the putenv()
call fails with "ValueError: embedded null byte". The workaround uses
repr() of test parameters as parameter id.
See
https://github.com/pytest-dev/pytest/issues/2957
Signed-off-by: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1342/head:pr1342
git checkout pr1342