~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/bugtarget.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
from zope.schema.vocabulary import SimpleVocabulary
54
54
from zope.security.proxy import removeSecurityProxy
55
55
 
 
56
from canonical.config import config
56
57
from lp import _
 
58
from lp.services.webapp import (
 
59
    canonical_url,
 
60
    LaunchpadView,
 
61
    urlappend,
 
62
    )
 
63
from lp.services.webapp.authorization import check_permission
 
64
from lp.services.webapp.batching import BatchNavigator
 
65
from lp.services.webapp.breadcrumb import Breadcrumb
 
66
from lp.services.webapp.interfaces import ILaunchBag
 
67
from lp.services.webapp.menu import structured
57
68
from lp.app.browser.launchpadform import (
58
69
    action,
59
70
    custom_widget,
125
136
from lp.registry.interfaces.projectgroup import IProjectGroup
126
137
from lp.registry.interfaces.sourcepackage import ISourcePackage
127
138
from lp.registry.vocabularies import ValidPersonOrTeamVocabulary
128
 
from lp.services.config import config
129
139
from lp.services.job.interfaces.job import JobStatus
130
140
from lp.services.librarian.browser import ProxiedLibraryFileAlias
131
141
from lp.services.propertycache import cachedproperty
132
 
from lp.services.webapp import (
133
 
    canonical_url,
134
 
    LaunchpadView,
135
 
    urlappend,
136
 
    )
137
 
from lp.services.webapp.authorization import check_permission
138
 
from lp.services.webapp.batching import BatchNavigator
139
 
from lp.services.webapp.breadcrumb import Breadcrumb
140
 
from lp.services.webapp.interfaces import ILaunchBag
141
 
from lp.services.webapp.menu import structured
142
142
 
143
143
# A simple vocabulary for the subscribe_to_existing_bug form field.
144
144
SUBSCRIBE_TO_BUG_VOCABULARY = SimpleVocabulary.fromItems(