def setUp(self): self.httpClient = utils.makeHttpClient() self.protocolRequest = DummyRequest() self.httpClient.runSearchRequest = mock.Mock() self.httpClient.runListRequest = mock.Mock() self.httpClient.runGetRequest = mock.Mock() self._id = "SomeId"
def setUp(self): self.httpClient = utils.makeHttpClient() self.protocolRequest = DummyRequest() self.httpClient.runSearchRequest = mock.Mock() self.httpClient.runListRequest = mock.Mock() self.httpClient.runGetRequest = mock.Mock() self._id = "SomeId"
def setUp(self): self.httpClient = utils.makeHttpClient()
def setUp(self): self.httpClient = utils.makeHttpClient()
def getHttpClient(self): httpClient = utils.makeHttpClient() httpClient.searchReads = self.getSearchReadsResponse return httpClient