certbot/acme/tests
osirisinferi 1a25c4052c
Change query_registration() to use _get_v2_account() (#9307)
* Change `query_registration()` to use `_get_v2_account()`

* Improve `_get_v2_account()`

Required for proper working of `certbot.main.update_registration()`. This
function updates the `regr.body` locally instead of passing the fields
which need to be updated to `acme.client.update_registration()` as a
separate argument in the `update` parameter.

* Revert "Improve `_get_v2_account()`"

This reverts commit e88a23ad76.

* Improve `_get_v2_account() (version 2)

Instead of e88a23a, this change should be more compatible with older
ACMEv1 accounts used through symlinking ACMEv2 account dirs to the
existing ACMEv1 account dirs.
It should also still be compatible with `certbot.main.update_registration`.

* Move and slightly update CHANGELOG entry
2022-06-09 07:49:40 +10:00
..
testdata Test coverage dns ecdsa (#9174) 2022-01-21 20:29:53 +11:00
challenges_test.py Test coverage dns ecdsa (#9174) 2022-01-21 20:29:53 +11:00
client_test.py Change query_registration() to use _get_v2_account() (#9307) 2022-06-09 07:49:40 +10:00
crypto_util_test.py add ip address support to certbot/acme lib (2021 ver) (#8904) 2021-08-27 06:47:01 -07:00
errors_test.py Update assertTrue/False to Python 3 precise asserts (#8792) 2021-04-29 10:45:08 +10:00
fields_test.py Typed jose fields (#9073) 2022-01-24 15:16:19 -08:00
jose_test.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
jws_test.py Update assertTrue/False to Python 3 precise asserts (#8792) 2021-04-29 10:45:08 +10:00
magic_typing_test.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
messages_test.py Add subproblems to errors (#7046) (#9258) 2022-04-06 09:34:26 -07:00
standalone_test.py Use super().__init__ instead of explicitly calling named super-class. (#9166) 2022-01-09 22:50:44 +01:00
test_util.py Test coverage dns ecdsa (#9174) 2022-01-21 20:29:53 +11:00
util_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00