~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt

  • Committer: Robert Collins
  • Date: 2011-10-17 07:58:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14213.
  • Revision ID: robertc@robertcollins.net-20111017075830-ltysmkm13s5y3tqg
Give CaptureOops a better home and a focused test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
 
166
166
Attempt to redeem a valid voucher and see the error message.
167
167
 
168
 
    >>> from lp.testing import CaptureOops
 
168
    >>> from lp.testing.fixture import CaptureOops
169
169
    >>> capture = CaptureOops()
170
170
    >>> capture.setUp()
171
171
    >>> browser.getControl(name='field.project').value='mega-money-maker'