certbot/acme/tests
Anna Glasgall 5d5dc429c4
acme.messages.OrderResource: Make roundtrippable through JSON (#9617)
Right now if you to_json() an `OrderResource` and later deserialize
it, the `AuthorizationResource` objects don't come back through the
round-trip (they just get de-jsonified as frozendicts and worse, they
can't even be passed to `AuthorizationResource.from_json` because
frozendicts aren't dicts). In addition, the `csr_pem` field gets
encoded as an array of integers, which definitely does not get
de-jsonified into what we want.

Fix these by adding an encoder to `authorizations` and encoder and
decoder to `csr_pem`.
2023-03-21 10:49:39 -07:00
..
testdata Test coverage dns ecdsa (#9174) 2022-01-21 20:29:53 +11:00
challenges_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
client_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
crypto_util_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
errors_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
fields_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
jose_test.py Remove unnecessary unittest (#9596) 2023-03-02 06:48:40 -08:00
jws_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
messages_test.py acme.messages.OrderResource: Make roundtrippable through JSON (#9617) 2023-03-21 10:49:39 -07:00
standalone_test.py Use pytest assertions (#9585) 2023-02-16 16:02:02 +11:00
test_util.py Update and run isort (#9573) 2023-02-10 10:51:20 -08:00
util_test.py Remove unnecessary unittest (#9596) 2023-03-02 06:48:40 -08:00