Skip to content

Commit

Permalink
fix: update test problem default display name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed May 8, 2024
1 parent d59c614 commit e9ac94d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def setUp(self):
f"problem1_{self.block_suffix}",
)
tagged_problem = TaggedContent(
display_name="Blank Problem",
display_name="Blank Advanced Problem",
block_id=f"lb:orgA:lib_{self.block_suffix}:problem:problem1_{self.block_suffix}",
category="problem",
children=[],
Expand All @@ -380,7 +380,7 @@ def setUp(self):
f"problem2_{self.block_suffix}",
)
untagged_problem = TaggedContent(
display_name="Blank Problem",
display_name="Blank Advanced Problem",
block_id=f"lb:orgA:lib_{self.block_suffix}:problem:problem2_{self.block_suffix}",
category="problem",
children=[],
Expand All @@ -405,16 +405,16 @@ def setUp(self):

assert self.expected_library_tagged_xblock.children is not None # type guard
# The children are sorted by add order
self.expected_library_tagged_xblock.children.append(tagged_library_html)
self.expected_library_tagged_xblock.children.append(tagged_problem)
self.expected_library_tagged_xblock.children.append(untagged_problem)
self.expected_library_tagged_xblock.children.append(tagged_library_html)

self.all_library_object_tags, _ = api.get_all_object_tags(self.library.key)
self.expected_library_tagged_content_list = [
(self.expected_library_tagged_xblock, 0),
(tagged_library_html, 1),
(tagged_problem, 1),
(untagged_problem, 1),
(tagged_library_html, 1),
]

self.expected_csv = (
Expand Down

0 comments on commit e9ac94d

Please sign in to comment.