def testImportXMLWithPartialMTime(self):

        # If mixed, then we should still get current UTC
        xmlstr = """
<s3xml>
    <resource name="hms_hospital" uuid="MTIMETESTHOSPITAL4" modified_on="2012-03-31T00:00:00">
        <data field="name">MTimeTestHospital4</data>
    </resource>
    <resource name="hms_hospital" uuid="MTIMETESTHOSPITAL5">
        <data field="name">MTimeTestHospital5</data>
    </resource>
</s3xml>"""

        xmltree = etree.ElementTree(etree.fromstring(xmlstr))
        resource = current.s3db.resource("hms_hospital")
        resource.import_xml(xmltree)
        self.assertEqual(s3_utc(resource.mtime).date(),
                         s3_utc(datetime.datetime.utcnow()).date())

    # -------------------------------------------------------------------------
Return the default bus number based on the device platform.  For a
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/ResourceImportTests.testImportXMLWithPartialMTime--crossover with--dataset/ETHPy150Open adafruit/Adafruit_Python_GPIO/Adafruit_GPIO/I2C.py/get_default_bus