mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:14:54 +02:00
lint
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
"""Tests for certbot.cert_manager."""
|
"""Tests for certbot.cert_manager."""
|
||||||
# pylint disable=protected-access
|
# pylint: disable=protected-access
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
@@ -192,6 +192,8 @@ class CertificatesTest(BaseCertManagerTest):
|
|||||||
cert.names.return_value = ["nameone", "nametwo"]
|
cert.names.return_value = ["nameone", "nametwo"]
|
||||||
cert.is_test_cert = False
|
cert.is_test_cert = False
|
||||||
parsed_certs = [cert]
|
parsed_certs = [cert]
|
||||||
|
|
||||||
|
# pylint: disable=protected-access
|
||||||
get_report = lambda: cert_manager._report_human_readable(mock_config, parsed_certs)
|
get_report = lambda: cert_manager._report_human_readable(mock_config, parsed_certs)
|
||||||
|
|
||||||
mock_config = mock.MagicMock(certname=None, lineagename=None)
|
mock_config = mock.MagicMock(certname=None, lineagename=None)
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
|
"""Tests for ocsp.py"""
|
||||||
"""Tests for hooks.py"""
|
|
||||||
# pylint: disable=protected-access
|
# pylint: disable=protected-access
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|||||||
Reference in New Issue
Block a user