mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Make mypy pass on our tests (#9648)
* make mypy pass on our tests * fix grammar
This commit is contained in:
+2
-3
@@ -12,9 +12,8 @@ from certbot_integration_tests.utils import acme_server
|
||||
SCRIPT_DIRNAME = os.path.dirname(__file__)
|
||||
|
||||
|
||||
def main(args=None):
|
||||
if not args:
|
||||
args = sys.argv[1:]
|
||||
def main() -> int:
|
||||
args = sys.argv[1:]
|
||||
with acme_server.ACMEServer('pebble', [], False) as acme_xdist:
|
||||
environ = os.environ.copy()
|
||||
environ['SERVER'] = acme_xdist['directory_url']
|
||||
|
||||
Reference in New Issue
Block a user