Commit 30a1c7d7 authored by Nicolas Joyard's avatar Nicolas Joyard

Fix test query counts

parent 22643a22
......@@ -49,8 +49,9 @@ class RepresentativeBaseTest(BaseTest):
- 2 for phone numbers related to addresses
- 1 for other phone numbers
- 2 for themes and theme scores
- 1 for DAL to fetch its initial value in the position form
"""
queries = BaseTest.left_pane_queries + 14
queries = BaseTest.left_pane_queries + 15
@property
def url(self):
......
<button aria-controls="position-modal-566" aria-expanded="false" class="btn btn-default position-button" data-target="#position-modal-566" data-toggle="modal" id="position-button-566" type="button">
<h5>
Olivier Dussopt
</h5>
<div class="text-center">Oct. 3, 2009</div>
......@@ -8,7 +12,11 @@
</button>
---
<button aria-controls="position-modal-567" aria-expanded="false" class="btn btn-default position-button" data-target="#position-modal-567" data-toggle="modal" id="position-button-567" type="button">
<h5>
Olivier Dussopt
</h5>
<div class="text-center">June 17, 2008</div>
......
......@@ -8,8 +8,9 @@ class RepresentativePositionsTest(RepresentativeBaseTest):
- One for positions
- One for position scores
- One for position themes
- One for position representatives
"""
queries = RepresentativeBaseTest.queries + 3
queries = RepresentativeBaseTest.queries + 4
def test_queries(self):
self.do_query_test()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment