def _assert_report_is(self, report):
root = from_xml(self._destination.getvalue())<EOL>test_suites = root.findall(JUnitDialect.TEST_SUITE)<EOL>self.assertEqual(len(report), len(test_suites))<EOL>for each_suite in test_suites:<EOL><INDENT>self._assert_suite(report, each_suite)<EOL><DEDENT>
Verify the structure of the generated XML text against the given
'report' structure.