summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAcriusWinter <152348900+AcriusWinter@users.noreply.github.com>2024-06-20 10:28:29 -0700
committerGitHub <noreply@github.com>2024-06-20 10:28:29 -0700
commit90c8fe0182cc2ff1217f0ce14f6d63b2d31eaea9 (patch)
tree7ef8d7c01eca11e4c32eaadcd95d084f843463b6 /var
parent58db81c3233b5a0fd81f555b6152f1e00d336f65 (diff)
downloadspack-90c8fe0182cc2ff1217f0ce14f6d63b2d31eaea9.tar.gz
spack-90c8fe0182cc2ff1217f0ce14f6d63b2d31eaea9.tar.bz2
spack-90c8fe0182cc2ff1217f0ce14f6d63b2d31eaea9.tar.xz
spack-90c8fe0182cc2ff1217f0ce14f6d63b2d31eaea9.zip
snakemake: Changed test method name and added docstring (#44723)
* snakemake: Changed tested method name and added docstring
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/snakemake/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/snakemake/package.py b/var/spack/repos/builtin/packages/snakemake/package.py
index f0f8627731..754affb32d 100644
--- a/var/spack/repos/builtin/packages/snakemake/package.py
+++ b/var/spack/repos/builtin/packages/snakemake/package.py
@@ -130,5 +130,6 @@ class Snakemake(PythonPackage):
)
depends_on("py-requests", when="+http", type=("build", "run"))
- def test(self):
- Executable("snakemake")("--version")
+ def test_run(self):
+ """Test if snakemake runs with the version option"""
+ Executable(self.prefix.bin.snakemake)("--version")