bugfix: test_push_and_fetch_keys should be skipped w/o gpg (#19511)
- [x] add a `@pytest.skipif` decorator
This commit is contained in:
parent
2e3355d2f9
commit
fd6c163e02
@ -473,6 +473,8 @@ def test_relative_rpaths_install_nondefault(tmpdir,
|
||||
mirror.mirror(mparser, margs)
|
||||
|
||||
|
||||
@pytest.mark.skipif(not spack.util.gpg.has_gpg(),
|
||||
reason='This test requires gpg')
|
||||
def test_push_and_fetch_keys(mock_gnupghome):
|
||||
testpath = str(mock_gnupghome)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user