def _load_default_test_modules():
    modules = []
    if settings.GAEUNIT_INCLUDES_KAY:
        import kay.tests
        modules.append(reload(kay.tests))
    for app_name in settings.INSTALLED_APPS:
        if app_name.startswith('kay.'):
            continue
        try:
            modules.append(reload(import_string(app_name % "%s.tests")))
        except (ImportError, AttributeError), e:
            logging.warn("Loading module %s.tests failed: '%s'." %
                         (app_name, e))
            pass
    return modules
dataset/ETHPy150Open IanLewis/kay/kay/ext/testutils/gaeunit.py/_load_default_test_modules/swapped operands of `%`