fixing the mock to include the alternative chain

This commit is contained in:
Hossein Shafagh 2021-03-10 12:43:36 -08:00
parent 4937c5dc2c
commit 45712c582b
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ Q9ePRFBCiXOQ6wPLoUhrrbZ8LpFUFYDXHMtYM7P9sc9IAWoONXREJaO08zgFtMp4
idWw1VrejtwclobqNMVtG3EiPUIpJGpbMcJgbiLSmKkrvQtGng== idWw1VrejtwclobqNMVtG3EiPUIpJGpbMcJgbiLSmKkrvQtGng==
-----END CERTIFICATE----- -----END CERTIFICATE-----
""" """
mock_client.poll_and_finalize.return_value = mock_finalized_order mock_finalized_order.alternative_fullchains_pem = [mock_finalized_order.fullchain_pem]
mock_client.finalize_order.return_value = mock_finalized_order
mock_acme.return_value = (mock_client, "") mock_acme.return_value = (mock_client, "")