route53: add unit tests (#4725)

This change introduces unit tests to cover all lines of the route53
plugin except for the timeout in `_wait_for_change`.
This commit is contained in:
Zach Shepherd
2017-05-31 15:25:24 -07:00
committed by Brad Warren
parent 40e8fc4dec
commit c9ff9e3c7a
6 changed files with 210 additions and 13 deletions
+3 -1
View File
@@ -9,7 +9,7 @@
# -e makes sure we fail fast and don't submit coveralls submit
if [ "xxx$1" = "xxx" ]; then
pkgs="certbot acme certbot_apache certbot_dns_cloudflare certbot_dns_cloudxns certbot_dns_digitalocean certbot_dns_dnsimple certbot_dns_google certbot_dns_nsone certbot_nginx letshelp_certbot"
pkgs="certbot acme certbot_apache certbot_dns_cloudflare certbot_dns_cloudxns certbot_dns_digitalocean certbot_dns_dnsimple certbot_dns_google certbot_dns_nsone certbot_nginx certbot_route53 letshelp_certbot"
else
pkgs="$@"
fi
@@ -35,6 +35,8 @@ cover () {
min=99
elif [ "$1" = "certbot_nginx" ]; then
min=97
elif [ "$1" = "certbot_route53" ]; then
min=99
elif [ "$1" = "letshelp_certbot" ]; then
min=100
else