def METHOD_NAME(self):
    with TemporaryDirectory() as tmp:
        template_filename = 'template.html'
        pathname = os.path.join(tmp, template_filename)
        tmpl = dedent(
            "{% for job in manager.state.job_state_map %}"
            "{{'{:^15}: {}'.format("
            "manager.state.job_state_map[job].result.tr_outcome(),"
            "manager.state.job_state_map[job].job.tr_summary()) }}\n"
            "{% endfor %}")
        data = {"template": template_filename, "extra_paths": [tmp]}
        exporter_unit = mock.Mock(spec=ExporterUnitSupport, data=data)
        exporter_unit.file_extension = 'html'
        exporter_unit.data_dir = tmp
        exporter_unit.template = template_filename
        exporter_unit.option_list = ()
        with open(pathname, 'w') as f:
            f.write(tmpl)
        exporter = Jinja2SessionStateExporter(exporter_unit=exporter_unit)
        stream = BytesIO()
        exporter.dump_from_session_manager(self.manager_single_job, stream)
        expected_bytes = '     fail      : job name\n'.encode('UTF-8')
        self.assertEqual(stream.getvalue(), expected_bytes)