@property
    def text(self):
        lines = self.xml.split('\n')
        defaults = sorted([l for l in lines if l.startswith('  <D')])
        overrides = sorted([l for l in lines if l.startswith('  <O')])
        out_lines = lines[:2] + defaults + overrides + lines[-1:]
        out = '\n'.join(out_lines)
        return out
Tests that get calls that return multiple results raise a MultipleObjectsReturned error
dataset/ETHPy150Open python-openxml/opc-diag/opcdiag/presenter.py/ContentTypesPresenter.text--crossover with--dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/query/test_named.py/TestQuerySetCountSelectionAndIteration.test_get_multipleobjects_exception