snakemake: Changed test method name and added docstring (#44723)

* snakemake: Changed tested method name and added docstring
This commit is contained in:
AcriusWinter 2024-06-20 10:28:29 -07:00 committed by GitHub
parent 58db81c323
commit 90c8fe0182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")