This probably needs to be something like: ``self.assertTrue('connections' in connections)``, to look for a key within the response body.