'Test Python API get_services.'

def test_get_services(self):

    local_services = hass.services.services
    for serv_domain in remote.get_services(master_api):
        local = local_services.pop(serv_domain['domain'])
        self.assertEqual(local, serv_domain['services'])
    self.assertEqual({}, remote.get_services(broken_api))
