update tests, remove MockRequestsClient

This commit is contained in:
richard-dds
2018-07-23 16:44:39 -04:00
parent fadbf1cfb1
commit 373463bf37
3 changed files with 10 additions and 25 deletions

View File

@@ -3,8 +3,17 @@ import pytest
import tornado
import urllib
from tests.mocks import MOCK_USER
from tests.factories import RequestFactory
ERROR_CLASS = "alert--error"
MOCK_REQUEST = RequestFactory.create(
creator=MOCK_USER["id"],
body={
"financial_verification": {
"pe_id": "0203752A",
},
}
)
@pytest.mark.gen_test
def test_submit_invalid_request_form(monkeypatch, http_client, base_url):