Pass `--confcutdir` to py.test invocation to restrict `conftest.py` scanning to paths in the pants buildroot.

Review Request #3258 - Created Dec. 14, 2015 and submitted

Information
Kris Wilson
pants
kwlzn/pytest_confcutdir
2726, 2728
Reviewers
pants-reviews
benjyw, jsirois, molsen, patricklaw
  • Pass --confcutdir to py.test invocation to restrict conftest.py scanning to paths in the pants buildroot.

Closes #2726.

https://travis-ci.org/pantsbuild/pants/builds/96891654

+

[illuminati pants (master)]$ echo "invalid syntax" > ~/conftest.py
[illuminati pants (master)]$ ./pants -q test tests/python/pants_test/util:contextutil; echo $?
1
[illuminati pants (master)]$ git checkout -
Switched to branch 'kwlzn/pytest_confcutdir'
[illuminati pants (kwlzn/pytest_confcutdir)]$ ./pants -q test tests/python/pants_test/util:contextutil; echo $?
0
Benjy Weinberger
Kris Wilson
Review request changed

Status: Closed (submitted)

Change Summary:

thanks Benjy! submitted @ 78a4625a31b5ffe7a6f0d9e11299d0acc910b34d

Loading...