Commit a2782dd8 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix client tests

parent 82a3b1dc
......@@ -7,8 +7,13 @@ class RepresentativeManagerTest(test.TestCase):
fixtures = ['representatives_test.json']
def functional_test(self, queries, url):
client = test.client.Client()
# First query to setup session
with self.assertNumQueries(queries):
result = test.client.Client().get(url)
result = client.get(url)
def test_constituencies_api(self):
Supports Markdown
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