← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/testfix-spec-query-count into lp:launchpad

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/testfix-spec-query-count into lp:launchpad.

Commit message:
Bump query limit in TestSpecificationSet.test_query_count to account for Product._default_git_repository.

Requested reviews:
  Colin Watson (cjwatson)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/testfix-spec-query-count/+merge/258594

Bump query limit in TestSpecificationSet.test_query_count to account for Product._default_git_repository.
-- 
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.
=== modified file 'lib/lp/blueprints/browser/tests/test_specification.py'
--- lib/lp/blueprints/browser/tests/test_specification.py	2015-01-29 14:14:01 +0000
+++ lib/lp/blueprints/browser/tests/test_specification.py	2015-05-08 09:01:14 +0000
@@ -246,12 +246,12 @@
         product = self.factory.makeProduct()
         removeSecurityProxy(product).official_blueprints = True
         self.factory.makeSpecification(product=product)
-        limit = BrowsesWithQueryLimit(37, product.owner, rootsite='blueprints')
+        limit = BrowsesWithQueryLimit(38, product.owner, rootsite='blueprints')
         self.assertThat(product, limit)
         login_celebrity('admin')
         [self.factory.makeSpecification(product=product) for i in range(4)]
         self.assertThat(product, limit)
-        
+
 
 class TestSpecificationInformationType(BrowserTestCase):
 


References