Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
f45eddc1
Commit
f45eddc1
authored
11 years ago
by
Alexander Kryklia
Browse files
Options
Downloads
Patches
Plain Diff
Fix
parent
cf70a986
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/courseware/features/lti.feature
+3
-3
3 additions, 3 deletions
lms/djangoapps/courseware/features/lti.feature
lms/djangoapps/courseware/features/lti.py
+2
-2
2 additions, 2 deletions
lms/djangoapps/courseware/features/lti.py
with
5 additions
and
5 deletions
lms/djangoapps/courseware/features/lti.feature
+
3
−
3
View file @
f45eddc1
...
...
@@ -3,15 +3,15 @@ Feature: LTI component
Scenario
:
LTI component in LMS is not rendered
Given
the course has correct LTI credentials
And
the course has a LTI component with incorrect fields
And
the course has a
n
LTI component with incorrect fields
Then
I view the LTI and it is not rendered
Scenario
:
LTI component in LMS is rendered
Given
the course has correct LTI credentials
And
the course has a LTI component filled with correct fields
And
the course has a
n
LTI component filled with correct fields
Then
I view the LTI and it is rendered
Scenario
:
LTI component in LMS is rendered incorrectly
Given
the course has incorrect LTI credentials
And
the course has a LTI component filled with correct fields
And
the course has a
n
LTI component filled with correct fields
Then
I view the LTI but incorrect_signature warning is rendered
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lms/djangoapps/courseware/features/lti.py
+
2
−
2
View file @
f45eddc1
...
...
@@ -91,7 +91,7 @@ def set_incorrect_lti_passport(_step):
i_am_registered_for_the_course
(
coursenum
,
metadata
)
@step
(
'
the course has a LTI component filled with correct fields$
'
)
@step
(
'
the course has a
n
LTI component filled with correct fields$
'
)
def
add_correct_lti_to_course
(
_step
):
category
=
'
lti
'
world
.
ItemFactory
.
create
(
...
...
@@ -116,7 +116,7 @@ def add_correct_lti_to_course(_step):
world
.
browser
.
visit
(
url
)
@step
(
'
the course has a LTI component with incorrect fields$
'
)
@step
(
'
the course has a
n
LTI component with incorrect fields$
'
)
def
add_incorrect_lti_to_course
(
_step
):
category
=
'
lti
'
world
.
ItemFactory
.
create
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment