

def fxtr_paths_by_names(self, fxtr_names):
    for fxtr in fxtr_names:
        for ext in ['json', 'yaml']:
            fxtr_path = os.path.join(ext.fixture_dir, ('%s.%s' % (fxtr, ext)))
            if os.path.exists(fxtr_path):
                logger.debug('Fixture file is found, yielding path: %s', fxtr_path)
                (yield fxtr_path)
                break
        else:
            logger.warning('Fixture file was not found: %s', fxtr)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py EnvironmentManager.fxtr_paths_by_names/VarMisuse@38/59 `self`->`ext`