fix docstring of tests

This commit is contained in:
jagonzalr
2016-12-16 08:26:16 +02:00
parent 4f50874fd0
commit 0682618a57

View File

@@ -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 COURSE_CREATOR_GROUP is enabled.
Users who are not given course creator roles should not be able to create libraries if ENABLE_CREATOR_GROUP is enabled.
"""
self.client.logout()
ns_user, password = self.create_non_staff_user()