certbot/certbot-ci
Adrien Ferrand aaeb4582e2 Fix PYTHONPATH in integration tests (#7357)
This PR supersedes #7353.

It fixes the execution of nginx oldest tests when these tests are executed on top of the modifications made in #7337. This execution failure revealed the fact that in some cases, the wrong version of certbot logic was used during integration tests (namely the logic lying in the codebase of the branch built, instead of the logic from the version of certbot declared by certbot-nginx for instance).

I let you appreciate my inline comment for the explanation and the workaround.

Thanks a lot to @bmw who found this python/pytest madness.

You can see the oldest tests succeeding with the logic of #7337 + this PR here: https://travis-ci.com/certbot/certbot/builds/124816254

* Remove certbot root from PYTHONPATH during integration tests

* Add a biiiiig comment.
2019-08-27 16:25:31 -07:00
..
certbot_integration_tests Fix PYTHONPATH in integration tests (#7357) 2019-08-27 16:25:31 -07:00
MANIFEST.in [Unix] Create a framework for certbot integration tests: PART 3g (#6953) 2019-04-15 17:39:38 -07:00
setup.py Fix integration tests on Windows (#7271) 2019-08-07 00:02:16 +02:00