Commits

Dan Colish committed 202b75e

fix up tests, rpc interfaces

  • Participants
  • Parent commits 8bb1fe4
  • Branches lodgeit

Comments (0)

Files changed (3)

File lodgeit/controllers/json.py

     :copyright: 2008 by Armin Ronacher.
     :license: BSD
 """
-from lodgeit import local
+
 from lodgeit.lib.webapi import json
-from lodgeit.utils import render_to_response
+from lodgeit.wsgi import local
+from lodgeit.wsgi.utils import render_to_response
 
 
 class JSONController(object):

File lodgeit/controllers/xmlrpc.py

     :copyright: 2007-2008 by Armin Ronacher, Georg Brandl, Christopher Grebs.
     :license: BSD
 """
-from lodgeit import local
-from lodgeit.utils import render_to_response
+
 from lodgeit.lib.webapi import xmlrpc
+from lodgeit.wsgi import local
+from lodgeit.wsgi.utils import render_to_response
 
 
 class XMLRPCController(object):

File tests/utilities/runner.py

 from nose import with_setup
 
-from lodgeit.application import db, make_app
+
 from lodgeit.models import Paste
+from lodgeit.wsgi.application import db, make_app
 
 foo = make_app(False, True)