Mads Jensen
ed7964b424
Improve assertions in nginx and DNS plugin tests. ( #9157 )
...
* Improve assertions in nginx and DNS plugin tests.
* Use assertIs for asserting is True/False.
2022-01-04 23:59:58 +01:00
Adrien Ferrand
10eecf9c97
Deprecate zope.component in favor of an direct calls to functions from certbot.display.util module ( #8835 )
...
* Implement certbot services
* Various fixes
* Local oldest requirements
* Clean imports
* Add unit tests for certbot.services
* Clean code
* Protect against nullity of global services
* Fix CLI
* Fix tests
* Consistent test behavior
* Various fixes
* Clean code
* Remove reporter service, migrate display service in certbot.display.util.
* Fix test
* Fix apache compatibility test
* Fix oldest test
* Setup certbot.display.service module
* Reintegrate in util
* Fix imports
* Fix tests and documentation
* Refactor
* Cleanup
* Cleanup
* Clean imports
* Add unit tests
* Borrow sphinx build fix from #8863
* Fix type
* Add comment
* Do not reuse existing display service, which never exist at that time
* Make get_display() private
* Fix lint
* Make display internal
* Fix circular dependencies
* Fixing circular dependencies
* Rename patch methods and update docstring
* Update deprecation messages
* Update certbot/certbot/_internal/display/obj.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
* Update certbot/certbot/tests/util.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
* Update certbot/certbot/tests/util.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
* Update certbot/certbot/tests/util.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
* Update certbot/certbot/tests/util.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
* Add links
* Avoid relying on internal certbot packages from certbot-apache
* Keep same behavior for patch_get_utility*
* Better diff
* Add changelog
* Update certbot/certbot/tests/util.py
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2021-07-19 17:09:06 -07:00
Brad Warren
7f9857a81b
Use Python 3 style super ( #8777 )
...
This is one of the things that newer versions of `pylint` complains about.
* git grep -l super\( | xargs sed -i 's/super([^)]*)/super()/g'
* fix spacing
2021-04-08 13:04:51 -07:00
Adrien Ferrand
e048da1e38
Reorganize imports ( #7616 )
...
* Isort execution
* Fix pylint, adapt coverage
* New isort
* Fix magic_typing lint
* Second round
* Fix pylint
* Third round. Store isort configuration
* Fix latest mistakes
* Other fixes
* Add newline
* Fix lint errors
2019-12-09 15:50:20 -05:00
ohemorange
a8e711d281
Refactor tests out of packaged module for nginx plugin ( #7606 )
...
* Refactor tests out of packaged module for nginx plugin
* Exclude pycache and .py[cod]
2019-11-26 17:45:18 -08:00