update tests, remove MockRequestsClient
This commit is contained in:
@@ -51,31 +51,8 @@ class MockApiClient(ApiClient):
|
||||
return response
|
||||
|
||||
|
||||
MOCK_REQUEST = {
|
||||
"id": "66b8ef71-86d3-48ef-abc2-51bfa1732b6b",
|
||||
"creator": "49903ae7-da4a-49bf-a6dc-9dff5d004238",
|
||||
"body": {
|
||||
"financial_verification": {
|
||||
"pe_id": "0203752A",
|
||||
},
|
||||
},
|
||||
"status": "incomplete"
|
||||
}
|
||||
|
||||
class MockRequestsClient(MockApiClient):
|
||||
|
||||
@tornado.gen.coroutine
|
||||
def get(self, path, **kwargs):
|
||||
return self._get_response("GET", path, 200, json=MOCK_REQUEST)
|
||||
|
||||
@tornado.gen.coroutine
|
||||
def post(self, path, **kwargs):
|
||||
return self._get_response("POST", path, 202, json=MOCK_REQUEST)
|
||||
|
||||
|
||||
MOCK_VALID_PE_ID = "8675309U"
|
||||
|
||||
|
||||
class MockFundzClient(MockApiClient):
|
||||
|
||||
@tornado.gen.coroutine
|
||||
|
Reference in New Issue
Block a user