Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2019-08-07 01:02:16 +0300
committerGitHub <noreply@github.com>2019-08-07 01:02:16 +0300
commitb67fda88324c2489228983b32a2b4a1cc204d564 (patch)
tree3b35586dd275cf6c536e0ed9ae171c26c98ded02 /tox.ini
parentf4d17d9a6b0f2ba997cdc8da75dd60c1bbf5ebf1 (diff)
Fix integration tests on Windows (#7271)
* Fix account_tests * Fix hook executable test * Remove the temporary decorator @broken_on_windows * Fix util_test * No broken unit test on Windows anymore * More elegant mock * Fix context manager * Fix lint * Fix mypy * Adapt coverage * Corrections * Fix lint * Adapt coverage * Update certbot/tests/compat/filesystem_test.py Co-Authored-By: Brad Warren <bmw@users.noreply.github.com> * Update util_test.py * Fix pylint * Forbid os.access * Update os_test.py * Update os.py * Fix lint * Update filesystem.py * Update filesystem.py * Update filesystem.py * Update os.py * Start fixing tests * Platform independent hooks * Fix probe fd close * Add broken_on_windows for integration tests * Fix a lot of tests * Use a python hook script, to prepare cross-platform * New approach to be compliant with Linux and Windows on hook scripts * New tests fixed * Test for permissions on Windows * Permissions comparison for Windows * No broken tests in certbot core anymore * Change mode * Specific config for appveyor * Use forked pebble for now * Various fixes * Assert file permissions for world on private keys * Clean code * Fix several things * Add integration target * Optimize integration env * Re-enable all AppVeyor envs * Use again official pebble * Update pebble_artifacts.py * Set PYTEST_ADDOPTS silently * Update appveyor.yml * Pin pywin32 for tests, give a minimal requirement for certbot. * Remove injection of nginx in PATH * Clean debug code * Various cleanup, ensure to remove workspace after tests * Update tox target * Improve assertions. Control the keyword echoed in hooks * Fix for virtualenv on Python 3.7.4 for Windows * Update certbot-ci/certbot_integration_tests/certbot_tests/assertions.py Co-Authored-By: Brad Warren <bmw@users.noreply.github.com> * Add conditionally pywin in certbot-ci like in certbot
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index bbe3c7a05..a4f4bd3e3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -232,6 +232,15 @@ commands =
coverage report --include 'certbot-nginx/*' --show-missing --fail-under=74
passenv = DOCKER_*
+[testenv:integration-certbot]
+commands =
+ {[base]pip_install} acme . certbot-ci
+ pytest certbot-ci/certbot_integration_tests/certbot_tests \
+ --acme-server={env:ACME_SERVER:pebble} \
+ --cov=acme --cov=certbot --cov-report= \
+ --cov-config=certbot-ci/certbot_integration_tests/.coveragerc
+ coverage report --include 'certbot/*' --show-missing --fail-under=62
+
[testenv:integration-certbot-oldest]
commands =
{[base]pip_install} .