~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/tests/views.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:09:12 UTC
  • mfrom: (14600.1.12 apocalypta-1)
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224170912-e1h1863jnphaqt81
merged apocalypta.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    # Setup a harness to easily test the view.
81
81
 
82
82
    >>> from lp.answers.browser.question import QuestionWorkflowView
83
 
    >>> from canonical.launchpad.ftests import LaunchpadFormHarness
 
83
    >>> from lp.testing.deprecated import LaunchpadFormHarness
84
84
    >>> workflow_harness = LaunchpadFormHarness(
85
85
    ...     firefox_question, QuestionWorkflowView)
86
86
 
708
708
    ...     def getDefaultFilter(self):
709
709
    ...         return dict(**self.default_filter)
710
710
 
711
 
    # Set up a harness for easier testing.
712
 
 
713
 
    >>> from canonical.launchpad.ftests import LaunchpadFormHarness
714
711
    >>> search_view_harness = LaunchpadFormHarness(
715
712
    ...     ubuntu, MyCustomSearchQuestionsView)
716
713