Skip to content

Commit f2ace71

Browse files
Adapt tests to upstream change
A test was broken by an upstream change. This applies the fix that is also used for the DNS plugins that are bundled with certbot: certbot/certbot@6f27c32#diff-2fa7c8bfb2d0f68a9406030f098ff99840ae613ebc13bbabfe5aae3d0bd6356f
1 parent 4d3cdb6 commit f2ace71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

certbot_dns_desec/dns_desec_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def setUp(self):
4444
# _get_desec_client | pylint: disable=protected-access
4545
self.auth._get_desec_client = mock.MagicMock(return_value=self.mock_client)
4646

47-
def test_perform(self):
47+
@test_util.patch_get_utility()
48+
def test_perform(self, unused_mock_get_utility):
4849
self.auth.perform([self.achall])
4950

5051
self.mock_client.get_txt_rrset.assert_called_once_with(DOMAIN, "_acme-challenge")

0 commit comments

Comments
 (0)