zuul-sphinx/tests/roles/__init__.py
James E. Blair 8f1cecfd74 Ignore non-directory entries in roles/
The check for whether a README.rst exists would naively look for
files like __init__.py/README.rst if there were files in the roles/
directory.  Only look for role directories instead.

Change-Id: I80268047a08b1294ccef841cd59894ec7133d16d
2018-09-05 10:18:18 -07:00

4 lines
153 B
Python

# Stestr discovery in zuul-jobs requires a fully importable filesystem
# hierarchy, so simulate that by including a __init__.py file in the
# roles dir.