'Test the time at a different location.'

def test_time(self):

    state = self.hass.states.get('sensor.worldclock_sensor')
    assert (state is not None)
    assert (state.state == dt_util.now(time_zone=self.time_zone).strftime('%H:%M'))
