Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
ce8de2cf
Commit
ce8de2cf
authored
Apr 17, 2016
by
Nicolas Joyard
Browse files
Fix tests
REMOVE DB.SQLITE
parent
da580a2a
Changes
11
Hide whitespace changes
Inline
Side-by-side
memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_displaylist/content
View file @
ce8de2cf
...
...
@@ -47,6 +47,11 @@
Countries
</a>
</li>
<li>
<a
href=
'/legislature/groups/chamber/'
>
Chambers
</a>
</li>
<li>
<a
href=
'/legislature/groups/group/'
>
Parties
...
...
memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_displaylist/status_code
0 → 100644
View file @
ce8de2cf
200
\ No newline at end of file
memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_displaylist_searchjoly/content
View file @
ce8de2cf
...
...
@@ -47,6 +47,11 @@
Countries
</a>
</li>
<li>
<a
href=
'/legislature/groups/chamber/'
>
Chambers
</a>
</li>
<li>
<a
href=
'/legislature/groups/group/'
>
Parties
...
...
memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_displaylist_searchjoly/status_code
0 → 100644
View file @
ce8de2cf
200
\ No newline at end of file
memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_displaygrid/content
View file @
ce8de2cf
...
...
@@ -47,6 +47,11 @@
Countries
</a>
</li>
<li>
<a
href=
'/legislature/groups/chamber/'
>
Chambers
</a>
</li>
<li>
<a
href=
'/legislature/groups/group/'
>
Parties
...
...
memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_displaygrid/status_code
0 → 100644
View file @
ce8de2cf
200
\ No newline at end of file
memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby12_displaylist/content
View file @
ce8de2cf
...
...
@@ -47,6 +47,11 @@
Countries
</a>
</li>
<li>
<a
href=
'/legislature/groups/chamber/'
>
Chambers
</a>
</li>
<li>
<a
href=
'/legislature/groups/group/'
>
Parties
...
...
memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby12_displaylist/status_code
0 → 100644
View file @
ce8de2cf
200
\ No newline at end of file
memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby24_displaylist/content
View file @
ce8de2cf
...
...
@@ -47,6 +47,11 @@
Countries
</a>
</li>
<li>
<a
href=
'/legislature/groups/chamber/'
>
Chambers
</a>
</li>
<li>
<a
href=
'/legislature/groups/group/'
>
Parties
...
...
memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby24_displaylist/status_code
0 → 100644
View file @
ce8de2cf
200
\ No newline at end of file
memopol/urls.py
View file @
ce8de2cf
...
...
@@ -11,7 +11,8 @@ admin.autodiscover()
urlpatterns
=
[
# Project-specific overrides
url
(
r
'^legislature/representative/(?P<group_kind>\w+)/(?P<chamber>.+)/(?P<group>.+)/$'
,
r
'^legislature/representative/(?P<group_kind>\w+)/(?P<chamber>.+)/'
+
r
'(?P<group>.+)/$'
,
views
.
RepresentativeList
.
as_view
(),
),
url
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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