feat: pep8 fixes
This commit is contained in:
@@ -737,6 +737,7 @@ class ValidateCourseOlxTests(CourseTestCase):
|
||||
allowed_xblocks=allowed_xblocks
|
||||
)
|
||||
|
||||
|
||||
class DetermineLabelTestCase(TestCase):
|
||||
"""Tests for xblock Title quirks"""
|
||||
|
||||
@@ -765,4 +766,5 @@ class DetermineLabelTestCase(TestCase):
|
||||
display_name = None
|
||||
block_type = "something else"
|
||||
result = utils.determine_label(display_name, block_type)
|
||||
self.assertTrue(result == display_name)
|
||||
self.assertTrue(result == display_name)
|
||||
|
||||
@@ -702,6 +702,7 @@ def get_sibling_urls(subsection, unit_location): # pylint: disable=too-many-s
|
||||
next_url = reverse_usage_url('container_handler', next_loc)
|
||||
return prev_url, next_url
|
||||
|
||||
|
||||
def determine_label(display_name, block_type):
|
||||
"""
|
||||
Returns the name of the xblock to display in studio.
|
||||
|
||||
Reference in New Issue
Block a user