def test_split_questions(self):
        export_instance = FormExportInstance(
            export_format=Format.JSON,
            domain=DOMAIN,
            case_type=DEFAULT_CASE_TYPE,
            split_multiselects=True,
            tables=[TableConfiguration(
                label="My table",
                selected=True,
                path=[],
                columns=[
                    SplitExportColumn(
                        label="MC",
                        item=MultipleChoiceItem(
                            path=[PathNode(name='form'), PathNode(name='mc')],
                            options=[
                                Option(value='one'),
                                Option(value='two'),
                            ]
                        ),
                        selected=True,
                    )
                ]
            )]
        )
        writer = _get_writer([export_instance])
        with writer.open([export_instance]):
            _write_export_instance(writer, export_instance, self.docs)

        with ExportFile(writer.path, writer.format) as export:
            self.assertEqual(
                json.loads(export),
                {
                    u'My table': {
                        u'headers': [u'MC | one', u'MC | two', 'MC | extra'],
                        u'rows': [[None, 1, 'extra'], [1, 1, '']],

                    }
                }
            )
Handle decoding of line.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/export/tests/test_get_export_file.py/WriterTest.test_split_questions--crossover with--dataset/ETHPy150Open mopidy/mopidy/mopidy/internal/network.py/LineProtocol.decode