Skip to content

Commit

Permalink
doc: doc string added for test
Browse files Browse the repository at this point in the history
  • Loading branch information
marslanabdulrauf committed Nov 28, 2024
1 parent 1b0a073 commit b2fd6f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cms/models_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2209,6 +2209,10 @@ def test_common_external_course_pages():


def test_common_external_course_pages_uniqueness():
"""
Tests the uniqueness constraint for creating multiple instances of the same page
under a CommonExternalCoursePage.
"""
course_page = CourseIndexPageFactory.create()
assert CommonExternalCoursePage.can_create_at(course_page)
common_folder = CommonExternalCoursePageFactory.create()
Expand Down

0 comments on commit b2fd6f2

Please sign in to comment.