Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
e9610862
Commit
e9610862
authored
Dec 03, 2013
by
Александр
Committed by
Ned Batchelder
Dec 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LTI tests.
parent
c4515fae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/lib/xmodule/xmodule/tests/test_lti_unit.py
+1
-0
lms/djangoapps/courseware/features/lti.feature
+2
-2
No files found.
common/lib/xmodule/xmodule/tests/test_lti_unit.py
View file @
e9610862
...
...
@@ -194,6 +194,7 @@ class LTIModuleTest(LogicTest):
Response from Tool Provider is correct.
"""
self
.
xmodule
.
verify_oauth_body_sign
=
Mock
()
self
.
xmodule
.
has_score
=
True
request
=
Request
(
self
.
environ
)
request
.
body
=
self
.
get_request_body
()
response
=
self
.
xmodule
.
grade_handler
(
request
,
''
)
...
...
lms/djangoapps/courseware/features/lti.feature
View file @
e9610862
...
...
@@ -44,8 +44,8 @@ Feature: LMS.LTI component
Scenario
:
Graded LTI component in LMS is correctly works
Given
the course has correct LTI credentials
And the course has an LTI component with correct fields
:
|
open_in_a_new_page
|
weight
|
is_graded
|
|
False
|
10
|
True
|
|
open_in_a_new_page
|
weight
|
is_graded
|
has_score
|
|
False
|
10
|
True
|
True
|
And
I submit answer to LTI question
And
I click on the
"Progress"
tab
Then I see text "Problem Scores
:
5/10"
...
...
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