@pytest.fixture
def submitter_testapp(app):
    'TestApp for a non-admin user (TEST_SUBMITTER), accepting JSON data.'
    environ = {'HTTP_ACCEPT': 'application/json', 'REMOTE_USER': 'TEST_SUBMITTER'}
    return webtest.TestApp(app, environ)
TestApp for a non-admin user (TEST_SUBMITTER), accepting JSON data.
@pytest.fixture
def submitter_testapp(app):
    
    environ = {'HTTP_ACCEPT': 'application/json', 'REMOTE_USER': 'TEST_SUBMITTER'}
    return webtest.TestApp(app, environ)