Switch to unified view

a/AlluraTesting/alluratest/controller.py b/AlluraTesting/alluratest/controller.py
...
...
71
    REGISTRY.register(url, lambda:None)
71
    REGISTRY.register(url, lambda:None)
72
    REGISTRY.register(request, Request.blank('/', remote_addr='1.1.1.1'))
72
    REGISTRY.register(request, Request.blank('/', remote_addr='1.1.1.1'))
73
    REGISTRY.register(response, Response())
73
    REGISTRY.register(response, Response())
74
    REGISTRY.register(session, beaker.session.SessionObject({}))
74
    REGISTRY.register(session, beaker.session.SessionObject({}))
75
    REGISTRY.register(allura.credentials, allura.lib.security.Credentials())
75
    REGISTRY.register(allura.credentials, allura.lib.security.Credentials())
76
    c.memoize_cache = {}
76
    c.queued_messages = None
77
    c.queued_messages = None
77
    ThreadLocalORMSession.close_all()
78
    ThreadLocalORMSession.close_all()
78
79
79
def setup_global_objects():
80
def setup_global_objects():
80
    setup_unit_test()
81
    setup_unit_test()