Commit a957e4bd authored by okhin's avatar okhin

Fixing the qa

parent 5e9de634
Pipeline #899 passed with stage
in 8 minutes and 28 seconds
...@@ -43,11 +43,9 @@ class RepresentativeManagerTest(test.TestCase): ...@@ -43,11 +43,9 @@ class RepresentativeManagerTest(test.TestCase):
# Test the filters # Test the filters
def test_representatives_api_mandates(self): def test_representatives_api_mandates(self):
self.functional_test(1, '/api/representatives/' self.functional_test(1, '/api/representatives/' +
+ '?active_mandates=INTA' '?active_mandates=INTA' + '&format=json')
+ '&format=json')
def test_representatives_api_constituency(self): def test_representatives_api_constituency(self):
self.functional_test(6, '/api/representatives/' self.functional_test(6, '/api/representatives/' +
+ '?active_constituency=European%20Parliament' '?active_constituency=European%20Parliament' + '&format=json')
+ '&format=json')
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