def find_modules(self):
    """Find modules ending in windmilltests within installed apps."""
    import django.conf
    names = []
    for app in django.conf.settings.INSTALLED_APPS:
      name = app + "." + "windmilltests"
      try:
        __import__(name)
        names.append(name)
      except __HOLE__:
        pass
    return names
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/management/commands/test_windmill.py/Command.find_modules