Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
luxcem
memopol
Commits
a957e4bd
Commit
a957e4bd
authored
Feb 27, 2017
by
okhin
Browse files
Fixing the qa
parent
5e9de634
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/representatives/tests/test_views.py
View file @
a957e4bd
...
...
@@ -43,11 +43,9 @@ class RepresentativeManagerTest(test.TestCase):
# Test the filters
def
test_representatives_api_mandates
(
self
):
self
.
functional_test
(
1
,
'/api/representatives/'
+
'?active_mandates=INTA'
+
'&format=json'
)
self
.
functional_test
(
1
,
'/api/representatives/'
+
'?active_mandates=INTA'
+
'&format=json'
)
def
test_representatives_api_constituency
(
self
):
self
.
functional_test
(
6
,
'/api/representatives/'
+
'?active_constituency=European%20Parliament'
+
'&format=json'
)
self
.
functional_test
(
6
,
'/api/representatives/'
+
'?active_constituency=European%20Parliament'
+
'&format=json'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment