Searched refs:_get_mock_connection (Results 1 – 3 of 3) sorted by relevance
120 con = self._get_mock_connection({"host": "elasticsearch.com", "port": 443})124 con = self._get_mock_connection(status_code=409)128 con = self._get_mock_connection(status_code=404)132 con = self._get_mock_connection(status_code=400)137 con = self._get_mock_connection(status_code=404)161 con = self._get_mock_connection(response_body='''{"answer": "that's it!"}''')196 con = self._get_mock_connection()204 con = self._get_mock_connection()212 con = self._get_mock_connection()220 con = self._get_mock_connection({'http_auth': 'username:secret'})[all …]
223 def _get_mock_connection(self, attempts=2): member in _TestServiceBase263 mock_conn = self._get_mock_connection()280 mock_conn = self._get_mock_connection()306 mock_conn = self._get_mock_connection()354 mock_conn = self._get_mock_connection()377 mock_conn = self._get_mock_connection()410 mock_conn = self._get_mock_connection()435 mock_conn = self._get_mock_connection()470 mock_conn = self._get_mock_connection()486 mock_conn = self._get_mock_connection()[all …]
98 self._get_mock_connection(mock_http_class=mock_http_class,142 self._get_mock_connection(mock_http_class=mock_http_class)172 connection = self._get_mock_connection(OpenStack_2_0_MockHttp)261 self._get_mock_connection(mock_http_class=mock_http_class)334 def _get_mock_connection(self, mock_http_class, auth_url=None): member in OpenStackIdentityConnectionTestCase