10 Commits
Author SHA1 Message Date
Brad WarrenandBrad Warren 052be6d4ba Check version requirements on optional dependencies (#3618)
* Add and test activate function to acme.

This function can be used to check if our optional dependencies are
available and they meet our version requirements.

* use activate in dns_resolver

* use activate in dns_available() in challenges_test

* Use activate in dns_resolver_test

* Use activate in certbot.plugins.util_test

* Use acme.util.activate for psutil

* Better testing and handling of missing deps

* Factored out *_available() code into a common function

* Delayed exception caused from using acme.dns_resolver without
  dnspython until the function is called. This makes both
  production and testing code simpler.

* Make a common subclass for already_listening tests

* Simplify mocking of USE_PSUTIL in tests
2016-10-12 15:55:50 -07:00
Erica PortnoyandBrad Warren 20ac4aebaf Match psutil port open checking behavior to that of socket test, and update tests. (#3589)
* Match psutil port open checking behavior to that of socket test, and update tests.

* Update docstring
2016-10-12 15:55:50 -07:00
Joona Hoikkala f4f80b339f Fixed merge error 2016-07-25 11:36:42 +03:00
Joona Hoikkala 603e3ac3ea Merge remote-tracking branch 'upstream/master' into psutil 2016-07-25 11:26:05 +03:00
Joona Hoikkala 774e9870ae Fixed the renew URL 2016-07-25 10:23:40 +03:00
Ville Skyttä c7b89c334b Use logger.warning instead of deprecated warn 2016-07-22 09:54:28 +03:00
Joona Hoikkala e01bf96891 :Merge remote-tracking branch 'upstream/master' into psutil 2016-07-15 17:06:19 +03:00
Joona Hoikkala e11e42f98e Added simple socket bind check for populated ports if psutil is not available 2016-07-12 15:09:31 +03:00
Peter Eckersley 0bedeb449a Refactor path_surgery into plugins.util so that nginx can call it 2016-07-08 14:03:21 -07:00
Brad Warren 3961b70deb s/letsencrypt/certbot 2016-04-13 16:03:59 -07:00