'With two "concurrent" o2ms, exports the first line combined, then
exports the rows for the first o2m, then the rows for the second o2m.'

def test_multiple(self):

    fields = ['const', 'child1/value', 'child2/value']
    child1 = [(0, False, {'value': v, 'str': ('record%.02d' % index)}) for (index, v) in zip(itertools.count(), [4, 42, 36, 4, 13])]
    child2 = [(0, False, {'value': v, 'str': ('record%.02d' % index)}) for (index, v) in zip(itertools.count(10), [8, 12, 8, 55, 33, 13])]
    self.assertEqual(self.export(child1=child1, child2=False, fields=fields), [[u'36', u'4', False], ['', u'42', ''], ['', u'36', ''], ['', u'4', ''], ['', u'13', '']])
    self.assertEqual(self.export(child1=False, child2=child2, fields=fields), [[u'36', False, u'8'], ['', '', u'12'], ['', '', u'8'], ['', '', u'55'], ['', '', u'33'], ['', '', u'13']])
    self.assertEqual(self.export(child1=child1, child2=child2, fields=fields), [[u'36', u'4', u'8'], ['', u'42', ''], ['', u'36', ''], ['', u'4', ''], ['', u'13', ''], ['', '', u'12'], ['', '', u'8'], ['', '', u'55'], ['', '', u'33'], ['', '', u'13']])
