@pytest.fixture
def anon_html_es_testapp(es_app):
    'TestApp with ES + Postgres for anonymous (not logged in) user, accepting text/html content.'
    environ = {'HTTP_ACCEPT': 'text/html'}
    return webtest.TestApp(es_app, environ)
TestApp with ES + Postgres for anonymous (not logged in) user, accepting text/html content.
@pytest.fixture
def anon_html_es_testapp(es_app):
    
    environ = {'HTTP_ACCEPT': 'text/html'}
    return webtest.TestApp(es_app, environ)