mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
* Setup an integration tests env against Pebble, that enforce post-as-get * Implement POST-as-GET requests, with fallback to GET. * Fix unit tests * Fix coverage. * Fix or ignore lint errors * Corrections after review * Correct test * Try a simple delegate approach * Add a test * Simplify test mocking * Clean comment
16 lines
378 B
Bash
Executable file
16 lines
378 B
Bash
Executable file
#!/bin/bash
|
|
# Simple integration test. Make sure to activate virtualenv beforehand
|
|
# (source venv/bin/activate) and that you are running Pebble test
|
|
# instance (see ./pebble-fetch.sh).
|
|
|
|
cleanup_and_exit() {
|
|
EXIT_STATUS=$?
|
|
unset SERVER
|
|
exit $EXIT_STATUS
|
|
}
|
|
|
|
trap cleanup_and_exit EXIT
|
|
|
|
export SERVER=https://localhost:14000/dir
|
|
|
|
./tests/certbot-boulder-integration.sh
|