'Setup things to be run when tests are started.'

def setUp(self):

    self.hass = get_test_home_assistant()
    def monkey_available(self):
        'Make    a    monkey    available.'
        return True
    self.real_available = sonos.SonosDevice.available
    sonos.SonosDevice.available = monkey_available
