~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/doc/faq.txt

  • Committer: Jonathan Lange
  • Date: 2011-06-28 15:04:29 UTC
  • mto: This revision was merged to the branch mainline in revision 13324.
  • Revision ID: jml@canonical.com-20110628150429-w7lpc4ovh5jty1f0
Don't use syncUpdate

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
 
282
282
    # Flush the faq attribute change.
283
283
 
284
 
    >>> from canonical.launchpad.ftests import syncUpdate
285
 
    >>> syncUpdate(fnord_question)
286
 
 
287
284
    >>> for question in firefox_faq.related_questions:
288
285
    ...     print question.title
289
286
    Are there Fnords on the web?
301
298
    >>> print other_question.status.title
302
299
    Answered
303
300
 
304
 
    >>> syncUpdate(other_question)
305
301
    >>> for question in firefox_faq.related_questions:
306
302
    ...     print question.title
307
303
    Firefox loses focus and gets stuck
317
313
 
318
314
After this, only the original question will remain linked to the FAQ.
319
315
 
320
 
    >>> syncUpdate(other_question)
321
316
    >>> for question in firefox_faq.related_questions:
322
317
    ...     print question.title
323
318
    Are there Fnords on the web?