mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use file paths for x509_v2 functional state tests
... they are more realistic.
This commit is contained in:
parent
c1642c5b50
commit
a37e5c704b
1 changed files with 6 additions and 6 deletions
|
@ -412,11 +412,11 @@ O68=
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def cert_args(tmp_path, ca_cert, ca_key):
|
||||
def cert_args(tmp_path, ca_cert_file, ca_key_file):
|
||||
return {
|
||||
"name": f"{tmp_path}/cert",
|
||||
"signing_private_key": ca_key,
|
||||
"signing_cert": ca_cert,
|
||||
"signing_private_key": str(ca_key_file),
|
||||
"signing_cert": str(ca_cert_file),
|
||||
"CN": "success",
|
||||
}
|
||||
|
||||
|
@ -443,11 +443,11 @@ def cert_args_exts():
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def crl_args(tmp_path, ca_cert, ca_key):
|
||||
def crl_args(tmp_path, ca_cert_file, ca_key_file):
|
||||
return {
|
||||
"name": f"{tmp_path}/crl",
|
||||
"signing_private_key": ca_key,
|
||||
"signing_cert": ca_cert,
|
||||
"signing_private_key": str(ca_key_file),
|
||||
"signing_cert": str(ca_cert_file),
|
||||
"revoked": [],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue