certbot/certbot-ci/certbot_integration_tests
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
..
assets Fix integration tests on Windows (#7271) 2019-08-07 00:02:16 +02:00
certbot_tests Fix integration tests on Windows (#7271) 2019-08-07 00:02:16 +02:00
nginx_tests [Windows|Linux] Launch integration tests on Pebble without Docker (#7157) 2019-07-10 14:29:57 -07:00
utils Fix PYTHONPATH in integration tests (#7357) 2019-08-27 16:25:31 -07:00
.coveragerc [Unix] Create a framework for certbot integration tests: PART 2 (#6821) 2019-04-11 18:07:36 -07:00
__init__.py [Unix] Create a framework for certbot integration tests: PART 1 (#6578) 2019-03-01 13:18:06 -08:00
conftest.py [Windows|Linux] Launch integration tests on Pebble without Docker (#7157) 2019-07-10 14:29:57 -07:00