def test_set_xml_acl_json_api_object(self):
    obj_uri = suri(self.CreateObject(contents='foo'))
    inpath = self.CreateTempFile(contents='<ValidXml></ValidXml>')
    stderr = self.RunGsUtil(self._set_acl_prefix + [inpath, obj_uri],
                            return_stderr=True, expected_status=1)
    self.assertIn('ArgumentException', stderr)
    self.assertIn('XML ACL data provided', stderr)
Test that datetimes are correctly converted to the local time zone.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_acl.py/TestAcl.test_set_xml_acl_json_api_object--crossover with--dataset/ETHPy150Open django/django/tests/syndication_tests/tests.py/SyndicationFeedTest.test_naive_datetime_conversion