summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-01-22 23:04:16 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2020-01-22 14:04:16 -0800
commit74266ea789bfb691597e272aa0a11ebf1e24dcce (patch)
treee8131c5a0bc6e144eeeeb71e05f84e7f496122f0 /var
parent7a0990903fbca221e044eb43edae6fd39dcca4eb (diff)
downloadspack-74266ea789bfb691597e272aa0a11ebf1e24dcce.tar.gz
spack-74266ea789bfb691597e272aa0a11ebf1e24dcce.tar.bz2
spack-74266ea789bfb691597e272aa0a11ebf1e24dcce.tar.xz
spack-74266ea789bfb691597e272aa0a11ebf1e24dcce.zip
tests: removed code duplication (#14596)
- [x] Factored to a common place the fixture `testing_gpg_directory`, renamed it as `mock_gnupghome` - [x] Removed altogether the function `has_gnupg2` For `has_gnupg2`, since we were not trying to parse the version from the output of: ```console $ gpg2 --version ``` this is effectively equivalent to check if `spack.util.gpg.GPG.gpg()` was found. If we need to ensure version is `^2.X` it's probably better to do it in `spack.util.gpg.GPG.gpg()` than in a separate function.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions