@pytest.fixture
def anonhtmltestapp(app):
    'TestApp for anonymous (not logged in) user, accepting text/html content.'
    environ = {'HTTP_ACCEPT': 'text/html'}
    test_app = webtest.TestApp(app, environ)
    return test_app
TestApp for anonymous (not logged in) user, accepting text/html content.
@pytest.fixture
def anonhtmltestapp(app):
    
    environ = {'HTTP_ACCEPT': 'text/html'}
    test_app = webtest.TestApp(app, environ)
    return test_app