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

Fix client test

parent 4d310990
......@@ -7,8 +7,11 @@ class RepresentativeManagerTest(test.TestCase):
fixtures = ['representatives_votes_test.json']
def functional_test(self, queries, url):
client = test.client.Client()
with self.assertNumQueries(queries):
result = test.client.Client().get(
result = client.get(
HTTP_ACCEPT='application/json; indent=4',
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