Remove external mock dependency (#9331)

* Remove external mock dependency

This also removes the "external-mock" test environment

* remove superfluous ignores

* remove mock warning ignore from pytest.ini

* drop deps on mock in oldest, drop dep on types-mock

Co-authored-by: Alex Zorin <alex@zorin.id.au>
This commit is contained in:
Will Greenberg
2022-09-28 16:17:03 -07:00
committed by GitHub
parent c9eba6ccd3
commit 26d479d6e3
82 changed files with 79 additions and 388 deletions

View File

@@ -1,11 +1,8 @@
"""Tests for certbot_dns_luadns._internal.dns_luadns."""
import unittest
from unittest import mock
try:
import mock
except ImportError: # pragma: no cover
from unittest import mock # type: ignore
from requests.exceptions import HTTPError
from certbot.compat import os