Skip to content

Commit

Permalink
Fixed for upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfireap committed Jun 23, 2023
1 parent 01202d0 commit e9a41dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modoboa_installer/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ def overwrite_existing_certificate(self):
return False
return True

def generate_cert(self):
"""Create a certificate."""
pass

Check warning on line 29 in modoboa_installer/ssl.py

View check run for this annotation

Codecov / codecov/patch

modoboa_installer/ssl.py#L29

Added line #L29 was not covered by tests


class ManualCertification(CertificateBackend):
"""Use certificate provided."""
Expand All @@ -46,7 +50,6 @@ def __init__(self, *args, **kwargs):
if not path_correct:
sys.exit(1)

Check warning on line 51 in modoboa_installer/ssl.py

View check run for this annotation

Codecov / codecov/patch

modoboa_installer/ssl.py#L50-L51

Added lines #L50 - L51 were not covered by tests

def generate_cert(self):
self.config.set("general", "tls_key_file",

Check warning on line 53 in modoboa_installer/ssl.py

View check run for this annotation

Codecov / codecov/patch

modoboa_installer/ssl.py#L53

Added line #L53 was not covered by tests
self.tls_key_file_path)
self.config.set("general", "tls_cert_file",

Check warning on line 55 in modoboa_installer/ssl.py

View check run for this annotation

Codecov / codecov/patch

modoboa_installer/ssl.py#L55

Added line #L55 was not covered by tests
Expand Down

0 comments on commit e9a41dd

Please sign in to comment.