diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-10-30 20:51:55 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-11-12 13:10:48 +0100 |
commit | 34b0874d9ad305f4c8d5e892a679bad2f33ed277 (patch) | |
tree | d3d06256fba33cdab8aaafcecb3f663a941819ae /mediagoblin/tests/tools.py | |
parent | 91b89bde4742178534aa2a3fea6308fa463a2550 (diff) | |
download | mediagoblin-34b0874d9ad305f4c8d5e892a679bad2f33ed277.tar.lz mediagoblin-34b0874d9ad305f4c8d5e892a679bad2f33ed277.tar.xz mediagoblin-34b0874d9ad305f4c8d5e892a679bad2f33ed277.zip |
Some docs for the TestingMiddleware
To make the TestingMiddleware actually more useful in the
future, start to document it.
Diffstat (limited to 'mediagoblin/tests/tools.py')
-rw-r--r-- | mediagoblin/tests/tools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/tests/tools.py b/mediagoblin/tests/tools.py index e8558240..7f20f6e7 100644 --- a/mediagoblin/tests/tools.py +++ b/mediagoblin/tests/tools.py @@ -107,6 +107,8 @@ def get_test_app(dump_old_app=True): # Insert the TestingMiddleware, which can do some # sanity checks on every request/response. + # Doing it this way is probably not the cleanest way. + # We'll fix it, when we have plugins! mg_globals.app.middleware.insert(0, TestingMiddleware(mg_globals.app)) app = TestApp(test_app) |