def test_get_time_zone_returns_none_for_garbage_time_zone(self):
        time_zone = dt_util.get_time_zone("Non existing time zone")

        self.assertIsNone(time_zone)
Test getting a non existing time zone.
dataset/ETHPy150Open home-assistant/home-assistant/tests/util/test_dt.py/TestDateUtil.test_get_time_zone_returns_none_for_garbage_time_zone