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