'Test the UTC time with local object.'

def test_as_utc_with_local_object(self):

    dt_util.set_default_time_zone(dt_util.get_time_zone(TEST_TIME_ZONE))
    localnow = dt_util.now()
    utcnow = dt_util.as_utc(localnow)
    self.assertEqual(localnow, utcnow)
    self.assertNotEqual(localnow.tzinfo, utcnow.tzinfo)
