Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jtschladen committed Sep 17, 2024
1 parent b11dfc9 commit 0e06800
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lemur/tests/test_certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,14 +980,17 @@ def test_reissue_certificate(


def test_reissue_command_by_name(
issuer_plugin, crypto_authority, certificate, logged_in_user
issuer_plugin, crypto_authority, logged_in_user
):
from lemur.certificates.cli import reissue
from lemur.tests.conf import LEMUR_DEFAULT_ORGANIZATION
from lemur.tests.factories import CertificateFactory

# TODO do we need this everywhere?
# test-authority would return a mismatching private key, so use 'cryptography-issuer' plugin instead.
certificate.authority = crypto_authority
# certificate.authority = crypto_authority

certificate = CertificateFactory(name="to_be_reissued_cert")

reissue(certificate.name, None, False, True)

Expand Down

0 comments on commit 0e06800

Please sign in to comment.