Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
f0468f2f
Unverified
Commit
f0468f2f
authored
5 years ago
by
Ayub
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21545 from edx/BOM-331
BOM-331
parents
898eba60
eb221e80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/courseware/tests/test_split_module.py
+5
-5
5 additions, 5 deletions
lms/djangoapps/courseware/tests/test_split_module.py
with
5 additions
and
5 deletions
lms/djangoapps/courseware/tests/test_split_module.py
+
5
−
5
View file @
f0468f2f
...
...
@@ -124,18 +124,18 @@ class SplitTestBase(SharedModuleStoreTestCase):
'
chapter
'
:
self
.
chapter
.
url_name
,
'
section
'
:
self
.
sequential
.
url_name
}
))
content
=
resp
.
content
unicode_
content
=
resp
.
content
.
decode
(
resp
.
charset
)
# Assert we see the proper icon in the top display
self
.
assertIn
(
u
'
<button class=
"
{} inactive nav-item tab
"'
.
format
(
self
.
ICON_CLASSES
[
user_tag
]),
content
.
deco
de
(
resp
.
charset
)
unico
de
_
co
ntent
)
# And proper tooltips
for
tooltip
in
self
.
TOOLTIPS
[
user_tag
]:
self
.
assertIn
(
tooltip
,
content
)
self
.
assertIn
(
tooltip
,
unicode_
content
)
unicode_content
=
content
.
decode
(
"
utf-8
"
)
for
key
in
self
.
included_usage_keys
[
user_tag
]:
self
.
assertIn
(
six
.
text_type
(
key
),
unicode_content
)
...
...
@@ -144,7 +144,7 @@ class SplitTestBase(SharedModuleStoreTestCase):
# Assert that we can see the data from the appropriate test condition
for
visible
in
self
.
VISIBLE_CONTENT
[
user_tag
]:
self
.
assertIn
(
visible
,
content
)
self
.
assertIn
(
visible
,
unicode_
content
)
class
TestSplitTestVert
(
SplitTestBase
):
...
...
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