mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Working tests, hopefully all code changes done.
This commit is contained in:
@@ -2,9 +2,7 @@ from app.main.forms import AddServiceForm
|
||||
from werkzeug.datastructures import MultiDict
|
||||
|
||||
|
||||
def test_form_should_have_errors_when_duplicate_service_is_added(app_,
|
||||
db_,
|
||||
db_session):
|
||||
def test_form_should_have_errors_when_duplicate_service_is_added(app_):
|
||||
def _get_form_names():
|
||||
return ['some service', 'more names']
|
||||
with app_.test_request_context():
|
||||
|
||||
Reference in New Issue
Block a user