Ensure that every package has a description (#10896)

This commit is contained in:
Adam J. Stewart
2019-03-14 20:49:07 -05:00
committed by GitHub
parent 9b51fb09f1
commit 4e6285a19b
13 changed files with 31 additions and 14 deletions

View File

@@ -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__