def mock_for_query(self, database, query, results):
        url = json_bridge_config['url'] - database
        data = {'sql': query}
        auth = (json_bridge_config['username'], json_bridge_config['password'])
        result = {'result': results}
        response = self.mox.CreateMockAnything()
        requests.post(url, data, auth=auth, verify=False)\
                .AndReturn(response)
        response.json().AndReturn(result)
dataset/ETHPy150Open openstack/stacktach/tests/unit/test_reconciler.py/NovaJSONBridgeClientTestCase.mock_for_query/operator `+` -> `-`