summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2023-06-27 05:33:56 -0700
committerGitHub <noreply@github.com>2023-06-27 08:33:56 -0400
commitac825bd9d489729cfc3a0e7adef3c4a3b26398e0 (patch)
tree587341a78a9f0d3e3de0800c0adc8e07d4fd8fac /var
parente24bf70af40f84e38d2fc28ff74d9ded48f5d59e (diff)
downloadspack-ac825bd9d489729cfc3a0e7adef3c4a3b26398e0.tar.gz
spack-ac825bd9d489729cfc3a0e7adef3c4a3b26398e0.tar.bz2
spack-ac825bd9d489729cfc3a0e7adef3c4a3b26398e0.tar.xz
spack-ac825bd9d489729cfc3a0e7adef3c4a3b26398e0.zip
tests/py-genshi: convert to new stand-alone test process (#38345)
* py-genshi: convert to new stand-alone test process * py-genshi: add run as py-setuptools deptype; remove test_testsuite comment
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-genshi/package.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-genshi/package.py b/var/spack/repos/builtin/packages/py-genshi/package.py
index 72e580791d..0027757f55 100644
--- a/var/spack/repos/builtin/packages/py-genshi/package.py
+++ b/var/spack/repos/builtin/packages/py-genshi/package.py
@@ -13,13 +13,8 @@ class PyGenshi(PythonPackage):
version("0.7.7", sha256="c100520862cd69085d10ee1a87e91289e7f59f6b3d9bd622bf58b2804e6b9aab")
- depends_on("py-setuptools", type="build")
+ depends_on("py-setuptools", type=("build", "run"))
depends_on("py-six", type=("build", "run", "test"))
- def test(self):
- # All the unittests pass for py-genshi@0.7.7 but 14 tests fail for
- # @0.6.1:0.7, many of them related to templates, likely because the
- # template path needs to be setup. But those versions didn't use tox
- # and setting up the test environment to find the template files doesn't
- # seem to be documented.
+ def test_testsuite(self):
python("-m", "unittest", "-v", "genshi.tests.suite")