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
0682618a
Commit
0682618a
authored
Dec 16, 2016
by
jagonzalr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix docstring of tests
parent
4f50874f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cms/djangoapps/contentstore/views/tests/test_library.py
+2
-2
No files found.
cms/djangoapps/contentstore/views/tests/test_library.py
View file @
0682618a
...
...
@@ -127,7 +127,7 @@ class UnitTestLibraries(CourseTestCase):
@patch.dict
(
'django.conf.settings.FEATURES'
,
{
'ENABLE_CREATOR_GROUP'
:
False
})
def
test_lib_create_permission_no_course_creator_role_and_no_course_creator_group
(
self
):
"""
Users who are not given course creator roles should still be able to create libraries if
COURSE_CREATOR_GROUP is not enabled
Users who are not given course creator roles should still be able to create libraries if
ENABLE_CREATOR_GROUP is not enabled.
"""
self
.
client
.
logout
()
ns_user
,
password
=
self
.
create_non_staff_user
()
...
...
@@ -140,7 +140,7 @@ class UnitTestLibraries(CourseTestCase):
@patch.dict
(
'django.conf.settings.FEATURES'
,
{
'ENABLE_CREATOR_GROUP'
:
True
})
def
test_lib_create_permission_no_course_creator_role_and_course_creator_group
(
self
):
"""
Users who are not given course creator roles should not be able to create libraries if
COURS
E_CREATOR_GROUP is enabled.
Users who are not given course creator roles should not be able to create libraries if
ENABL
E_CREATOR_GROUP is enabled.
"""
self
.
client
.
logout
()
ns_user
,
password
=
self
.
create_non_staff_user
()
...
...
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