Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
9fe9f345
Commit
9fe9f345
authored
Jul 14, 2015
by
Tim Krones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pylint violations.
parent
b8050f28
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
problem_builder/tasks.py
+1
-1
problem_builder/tests/integration/test_student_answers_dashboard.py
+1
-1
No files found.
problem_builder/tasks.py
View file @
9fe9f345
...
@@ -73,7 +73,7 @@ def export_data(course_id, source_block_id_str, block_types, user_id, match_stri
...
@@ -73,7 +73,7 @@ def export_data(course_id, source_block_id_str, block_types, user_id, match_stri
# Load the actual student submissions for each block in blocks_to_include.
# Load the actual student submissions for each block in blocks_to_include.
# Note this requires one giant query per block (all student submissions for each block, one block at a time)
# Note this requires one giant query per block (all student submissions for each block, one block at a time)
for
idx
,
block
in
enumerate
(
blocks_to_include
,
start
=
1
):
# start=1 since first column is student ID
for
block
in
blocks_to_include
:
# Get all of the most recent student submissions for this block:
# Get all of the most recent student submissions for this block:
block_id
=
unicode
(
block
.
scope_ids
.
usage_id
.
replace
(
branch
=
None
,
version_guid
=
None
))
block_id
=
unicode
(
block
.
scope_ids
.
usage_id
.
replace
(
branch
=
None
,
version_guid
=
None
))
block_type
=
block
.
scope_ids
.
block_type
block_type
=
block
.
scope_ids
.
block_type
...
...
problem_builder/tests/integration/test_student_answers_dashboard.py
View file @
9fe9f345
...
@@ -199,7 +199,7 @@ class StudentAnswersDashboardTest(SeleniumXBlockTest):
...
@@ -199,7 +199,7 @@ class StudentAnswersDashboardTest(SeleniumXBlockTest):
successful
=
True
,
display_data
=
[[
successful
=
True
,
display_data
=
[[
'Test section'
,
'Test subsection'
,
'Test unit'
,
'Test section'
,
'Test subsection'
,
'Test unit'
,
'Test type'
,
'Test question'
,
'Test answer'
,
'Test username'
'Test type'
,
'Test question'
,
'Test answer'
,
'Test username'
]
for
r
in
range
(
45
)]),
]
for
_
in
range
(
45
)]),
'instructor_task'
:
True
,
'instructor_task'
:
True
,
'instructor_task.models'
:
MockInstructorTaskModelsModule
(),
'instructor_task.models'
:
MockInstructorTaskModelsModule
(),
})
})
...
...
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