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

def setUp(self):

    self.hass = get_test_home_assistant()
    self._mock_client = mock.patch.object(nx584_client, 'Client')
    self._mock_client.start()
    self.fake_zones = [{'name': 'front', 'number': 1}, {'name': 'back', 'number': 2}, {'name': 'inside', 'number': 3}]
    client = nx584_client.Client.return_value
    client.list_zones.return_value = self.fake_zones
    client.get_version.return_value = '1.1'
