Skip to content

Commit

Permalink
fixup! feat: Initial implementation of the accordion XBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
xitij2000 committed Aug 7, 2024
1 parent 897640e commit c11e7c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions accordion/accordion.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

try:
import importlib_resources
except ImportError:
except ImportError: # pragma: no cover
from importlib import resources as importlib_resources


Expand Down Expand Up @@ -48,7 +48,7 @@ def student_view(self, context=None): # pylint: disable=unused-argument
return frag

@XBlock.json_handler
def studio_save(self, data, suffix=""): # pylint: disable=unused-argument
def studio_save(self, data, suffix=""): # pragma: no cover pylint: disable=unused-argument
"""Save config and data based on data received at this API endpoint."""
panels = data.get("panels", None)
styling = data.get("styling", None)
Expand Down Expand Up @@ -76,7 +76,7 @@ def studio_view(self, context=None): # pylint: disable=unused-argument
return frag

@staticmethod
def workbench_scenarios():
def workbench_scenarios(): # pragma: no cover
"""Create canned scenario for display in the workbench."""
return [
(
Expand Down

0 comments on commit c11e7c4

Please sign in to comment.