~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/tests/test_bugtask.py

  • Committer: Aaron Bentley
  • Date: 2011-11-03 16:36:53 UTC
  • mfrom: (14128.7.23 client-bug-fields)
  • mto: This revision was merged to the branch mainline in revision 14267.
  • Revision ID: aaron@canonical.com-20111103163653-jgjf94y17twmn1q7
Merged client-bug-fields into new-bug-fields.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1467
1467
    def getBugNumberTag(bug_task):
1468
1468
        """Bug numbers with a leading hash are unique to new rendering."""
1469
1469
        bug_number_re = re.compile(r'\#%d' % bug_task.bug.id)
1470
 
        return soupmatchers.Tag('bugnumber', 'span', text=bug_number_re)
 
1470
        return soupmatchers.Tag('bugnumber', 'a', text=bug_number_re)
1471
1471
 
1472
1472
    def test_mustache_rendering_missing_if_no_flag(self):
1473
1473
        """If the flag is missing, then no mustache features appear."""