Add store_account value to options in test_setup_acme_client_success
This commit is contained in:
parent
7e6fb740b3
commit
e0708410d0
|
@ -169,7 +169,8 @@ class TestAcme(unittest.TestCase):
|
||||||
@patch("lemur.plugins.lemur_acme.plugin.current_app")
|
@patch("lemur.plugins.lemur_acme.plugin.current_app")
|
||||||
def test_setup_acme_client_success(self, mock_current_app, mock_acme):
|
def test_setup_acme_client_success(self, mock_current_app, mock_acme):
|
||||||
mock_authority = Mock()
|
mock_authority = Mock()
|
||||||
mock_authority.options = '[{"name": "mock_name", "value": "mock_value"}]'
|
mock_authority.options = '[{"name": "mock_name", "value": "mock_value"}, ' \
|
||||||
|
'{"name": "store_account", "value": false}] '
|
||||||
mock_client = Mock()
|
mock_client = Mock()
|
||||||
mock_registration = Mock()
|
mock_registration = Mock()
|
||||||
mock_registration.uri = "http://test.com"
|
mock_registration.uri = "http://test.com"
|
||||||
|
|
Loading…
Reference in New Issue