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
c334858e
Commit
c334858e
authored
Oct 12, 2016
by
Nicolas Joyard
Browse files
Update tests
parent
e14688e4
Pipeline
#203
passed with stage
in 8 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/memopol/tests/base.py
View file @
c334858e
...
...
@@ -15,10 +15,8 @@ class BaseTest(ResponseDiffTestMixin, test.TestCase):
- 1 for parties
- 1 for committees
- 1 for delegations
- 1 for the position form
- 1 for themes
"""
left_pane_queries
=
7
left_pane_queries
=
6
def
setUp
(
self
):
RepresentativeScore
.
refresh
()
...
...
@@ -72,8 +70,9 @@ class ThemeBaseTest(BaseTest):
"""
Common queries plus:
- 1 for the theme
- 1 for DAL to fetch its initial value in the position form
"""
queries
=
BaseTest
.
left_pane_queries
+
1
queries
=
BaseTest
.
left_pane_queries
+
2
@
property
def
url
(
self
):
...
...
src/memopol/tests/response_fixtures/PositionFormTest.test_select_theme.content
View file @
c334858e
<input checked="checked" class="" id="id_position-themes_0" name="position-themes" title="" type="checkbox" value="1"/>
\ No newline at end of file
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