~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/vostok/browser/tests/test_root.py

  • Committer: William Grant
  • Date: 2010-10-02 06:27:13 UTC
  • mto: This revision was merged to the branch mainline in revision 11676.
  • Revision ID: me@williamgrant.id.au-20101002062713-pi8a2asl2v3ln0kp
Replace deprecated zope.app.publisher imports with the new locations, and only include z.a.p.xmlrpc's ZCML. This prevents the regstration of a 'manage' view for every object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
import os
9
9
import unittest
10
10
 
11
 
from zope.app.publisher.browser import getDefaultViewName
 
11
from zope.publisher.defaultview import getDefaultViewName
12
12
 
13
13
from canonical.launchpad.testing.pages import (
14
14
    extract_text,