@pytest.fixture
def embed_testapp(app):
    'TestApp for user EMBED, accepting JSON data.'
    environ = {'HTTP_ACCEPT': 'application/json', 'REMOTE_USER': 'EMBED'}
    return webtest.TestApp(app, environ)
TestApp for user EMBED, accepting JSON data.
@pytest.fixture
def embed_testapp(app):
    
    environ = {'HTTP_ACCEPT': 'application/json', 'REMOTE_USER': 'EMBED'}
    return webtest.TestApp(app, environ)