mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
lint
This commit is contained in:
parent
61e822a897
commit
7014ab5fd0
2 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
"""Tests for certbot.cert_manager."""
|
||||
# pylint disable=protected-access
|
||||
# pylint: disable=protected-access
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
|
|
@ -192,6 +192,8 @@ class CertificatesTest(BaseCertManagerTest):
|
|||
cert.names.return_value = ["nameone", "nametwo"]
|
||||
cert.is_test_cert = False
|
||||
parsed_certs = [cert]
|
||||
|
||||
# pylint: disable=protected-access
|
||||
get_report = lambda: cert_manager._report_human_readable(mock_config, parsed_certs)
|
||||
|
||||
mock_config = mock.MagicMock(certname=None, lineagename=None)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
"""Tests for hooks.py"""
|
||||
"""Tests for ocsp.py"""
|
||||
# pylint: disable=protected-access
|
||||
|
||||
import unittest
|
||||
|
|
|
|||
Loading…
Reference in a new issue