diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-03-14 20:49:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 20:49:07 -0500 |
commit | 4e6285a19bb1e318c9149fcdfd4b084c82933779 (patch) | |
tree | e60b240a53cee65ce064c7e0490cfd8eb7e25d1c /lib | |
parent | 9b51fb09f1c58e368d4821aa348d8817afb9affb (diff) | |
download | spack-4e6285a19bb1e318c9149fcdfd4b084c82933779.tar.gz spack-4e6285a19bb1e318c9149fcdfd4b084c82933779.tar.bz2 spack-4e6285a19bb1e318c9149fcdfd4b084c82933779.tar.xz spack-4e6285a19bb1e318c9149fcdfd4b084c82933779.zip |
Ensure that every package has a description (#10896)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/package_sanity.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/spack/spack/test/package_sanity.py b/lib/spack/spack/test/package_sanity.py index 29c3f94008..56c5954319 100644 --- a/lib/spack/spack/test/package_sanity.py +++ b/lib/spack/spack/test/package_sanity.py @@ -87,3 +87,11 @@ def test_no_fixme(): (filename, i, line.strip()) ) assert [] == errors + + +def test_docstring(): + """Ensure that every package has a docstring.""" + + for name in spack.repo.all_package_names(): + pkg = spack.repo.get(name) + assert pkg.__doc__ |