rename and consolidate new request forms into one namespace

This commit is contained in:
dandds
2018-09-07 13:19:43 -04:00
parent a96af2d095
commit e863f85319
7 changed files with 118 additions and 130 deletions

View File

@@ -21,7 +21,9 @@ def test_submit_invalid_request_form(monkeypatch, client, user_session):
def test_submit_valid_request_form(monkeypatch, client, user_session):
user_session()
monkeypatch.setattr("atst.forms.request.RequestForm.validate", lambda s: True)
monkeypatch.setattr(
"atst.forms.new_request.DetailsOfUseForm.validate", lambda s: True
)
response = client.post(
"/requests/new/1",