

def get_generator(self, fname):
    root_path = base.samples_path(self.samples_directory)
    kwargs = {
        'PATH_INFO': ('/htmlify/%s' % fname),
    }
    file_generator = osgen.get_file_generator(self.fake_env(**kwargs), root_path)
    filter_generator = osfilter.SevFilter(file_generator)
    return filter_generator

dataset/ETHPy150Open openstack-infra/os-loganalyze/os_loganalyze/tests/test_views.py TestViews.get_generator/original