note when testing: don't rely on revoke to catch things.
| case | tested | test written | does it work |
|---|---|---|---|
| delete using cert_path only | y | ||
| ... cert_name only | y | sort of, but it's not supposed to bc of how revoke works ... | |
| w/ matching cert_name, path | y | ||
| mismatched name and path | y | cert storage error gets thrown (via search_lineages) |
|
| mism., name doesn't exist | y | "" | |
| mism., path doesn't exist | y | it seems revoke catches the error | |
| mism., neither exist | y | "" | |
| human_readable_cert_info | |||
| not being able to find/read files | |||
| "" > certbot certificates | y | ||
| force_interactive w broken args | y | y | |
| force_interactive & name | |||
| force_interactive & path | y | y | |
| force_interactive & both working | |||
| confirmation 1 | y | y | |
| confirmation 2 | y | y | |
| cert_path_for_certname | |||
| certificates w/ 2 certs!! |