Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pomegranited committed Mar 11, 2024
1 parent c09d158 commit 9572ef1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions platform_plugin_aspects/tests/test_xblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from unittest import TestCase
from unittest.mock import Mock, patch

from django.conf import settings
from opaque_keys.edx.locator import CourseLocator
from xblock.field_data import DictFieldData

Expand All @@ -21,7 +20,7 @@ def make_an_xblock(user_role, **kwargs):
opt_attrs={"edx-platform.user_role": user_role},
)

def service(block, service):
def service(block, service): # pylint: disable=unused-argument
# Mock the user service
if service == "user":
return Mock(get_current_user=Mock(return_value=mock_user))
Expand Down

0 comments on commit 9572ef1

Please sign in to comment.