Skip to content

Commit

Permalink
Fixing typo from when transitioned to V3
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgePantelakis committed Feb 5, 2024
1 parent 291fd07 commit c89754e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sanity/test_certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def test_wrong_issuer_cert(local_user, sssd_db, user_shell, tmp_path):
sssd_db.backup()
sssd_db.path.unlink()

ca_factory(path = tmp_path.joinpath("ca"),
run(['mkdir', tmp_path.joinpath("ca")])
ca_factory(path=tmp_path.joinpath("ca"), create=True)
run(['restorecon', "-v", "/etc/sssd/pki/sssd_auth_ca_db.pem"])

with Authselect():
Expand All @@ -44,4 +45,5 @@ def test_wrong_issuer_cert(local_user, sssd_db, user_shell, tmp_path):
user_shell.expect_exact(local_user.username)

sssd_db.restore()
run(['rm', "-rf", tmp_path.joinpath("ca")])
run(['restorecon', "-v", "/etc/sssd/pki/sssd_auth_ca_db.pem"])

0 comments on commit c89754e

Please sign in to comment.