def testIncludeMaxBounds(self):

        xml = current.xml

        tree = xml.tree(None, maxbounds=True)
        root = tree.getroot()

        attrib = root.attrib
        self.assertEqual(root.tag, xml.TAG.root)
        self.assertEqual(len(attrib), 5)
        self.assertEqual(attrib["success"], "false")
        self.assertTrue("latmin" in attrib)
        self.assertTrue("latmax" in attrib)
        self.assertTrue("lonmin" in attrib)
        self.assertTrue("lonmax" in attrib)

# =============================================================================
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3xml.py/TreeBuilderTests.testIncludeMaxBounds/original