~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/tests/test_duplicate_handling.py

  • Committer: Stuart Bishop
  • Date: 2011-09-28 12:49:24 UTC
  • mfrom: (9893.10.1 trivial)
  • mto: This revision was merged to the branch mainline in revision 14178.
  • Revision ID: stuart.bishop@canonical.com-20110928124924-m5a22fymqghw6c5i
Merged trivial into distinct-db-users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
        target_heat_cache_statements = [
139
139
            statement for statement in recorder.statements
140
140
            if statement.startswith(
141
 
                "'SELECT MAX(Bug.heat), SUM(Bug.heat), COUNT(Bug.id)")]
 
141
                "SELECT MAX(Bug.heat), SUM(Bug.heat), COUNT(Bug.id)")]
142
142
        return len(target_heat_cache_statements)
143
143
 
144
144
    def test_move_duplicates_efficient_target_heat_cache_calculation(self):