update and fix some tests from rebase

This commit is contained in:
dandds
2018-07-27 15:15:44 -04:00
parent 84c228ec2e
commit 7f5f02985b
6 changed files with 35 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ import tornado.gen
from tornado.httpclient import HTTPRequest, HTTPResponse
from atst.api_client import ApiClient
from tests.factories import RequestFactory
MOCK_USER = {
@@ -10,6 +11,14 @@ MOCK_USER = {
"first_name": "Fake",
"last_name": "User",
}
MOCK_REQUEST = RequestFactory.create(
creator=MOCK_USER["id"],
body={
"financial_verification": {
"pe_id": "0203752A",
},
}
)
class MockApiClient(ApiClient):