URL:
https://github.com/freeipa/freeipa/pull/1340
Author: tiran
Title: #1340: Add workaround for pytest 3.3.0 bug
Action: opened
PR body:
"""
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>
Needs backport to 4.6.
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1340/head:pr1340
git checkout pr1340