← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/testfix-singleton-listing-no-redirect into lp:launchpad

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/testfix-singleton-listing-no-redirect into lp:launchpad.

Commit message:
Fix TestBranchView.test_query_count_index_with_subscribers, which now has one fewer count query.

Requested reviews:
  Colin Watson (cjwatson)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/testfix-singleton-listing-no-redirect/+merge/273516

Fix TestBranchView.test_query_count_index_with_subscribers, which now has one fewer count query.
-- 
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== modified file 'lib/lp/code/browser/tests/test_branch.py'
--- lib/lp/code/browser/tests/test_branch.py	2015-10-05 13:36:06 +0000
+++ lib/lp/code/browser/tests/test_branch.py	2015-10-06 11:35:47 +0000
@@ -586,7 +586,7 @@
         logout()
         with StormStatementRecorder() as recorder:
             browser.open(branch_url)
-        self.assertThat(recorder, HasQueryCount(Equals(29)))
+        self.assertThat(recorder, HasQueryCount(Equals(28)))
 
 
 class TestBranchViewPrivateArtifacts(BrowserTestCase):


References