def get_generator(self, fname):
        # Override base's get_generator because we don't want the full
        # wsgi application. We just need the generator to give to Views.
        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