Support LetsEncrypt accounts

This commit is contained in:
Curtis Castrapel
2018-07-30 15:25:02 -07:00
parent b70885595f
commit 0889076d3b
6 changed files with 75 additions and 22 deletions

View File

@ -134,6 +134,7 @@ class TestAcme(unittest.TestCase):
mock_client.register = mock_registration
mock_client.agree_to_tos = Mock(return_value=True)
mock_acme.return_value = mock_client
mock_current_app.config = {}
result_client, result_registration = plugin.setup_acme_client(mock_authority)
assert result_client
assert result_registration