mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
scopes added
Signed-off-by: Soham Banerjee <sohambanerjee4abc@hotmail.com>
This commit is contained in:
parent
7e8f6aff42
commit
b505cc47b5
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class GoogleClientTest(unittest.TestCase):
|
|||
@mock.patch('certbot_dns_google._internal.dns_google._GoogleClient.get_project_id')
|
||||
def test_add_txt_record(self, get_project_id_mock, credential_mock):
|
||||
client, changes = self._setUp_client_with_mock([{'managedZones': [{'id': self.zone}]}])
|
||||
credential_mock.assert_called_once_with('/not/a/real/path.json', mock.ANY)
|
||||
credential_mock.assert_called_once_with('/not/a/real/path.json', scopes=mock.ANY)
|
||||
self.assertFalse(get_project_id_mock.called)
|
||||
|
||||
client.add_txt_record(DOMAIN, self.record_name, self.record_content, self.record_ttl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue