Skip to content

Commit

Permalink
Quality fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
shimulch committed Mar 12, 2021
1 parent 758c48b commit 78c15b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lti_consumer/plugin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
from django.core.exceptions import ObjectDoesNotExist, PermissionDenied
from django.http import JsonResponse, Http404
from django.db import transaction
from django.conf import settings
from django.core.exceptions import ObjectDoesNotExist
from django.http import HttpResponse, JsonResponse
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_http_methods
from django.views.decorators.clickjacking import xframe_options_sameorigin
Expand Down Expand Up @@ -495,4 +492,4 @@ def get_serializer(self, data, **kwargs): # pylint: disable=arguments-differ
},
'members': data,
}
return super(LtiNrpsContextMembershipViewSet, self).get_serializer(result)
return super().get_serializer(result)
2 changes: 1 addition & 1 deletion lti_consumer/tests/unit/plugin/test_views_lti_nrps.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LtiNrpsTestCase(APITransactionTestCase):
"""

def setUp(self):
super(LtiNrpsTestCase, self).setUp()
super().setUp()

# Create custom LTI Block
self.rsa_key_id = "1"
Expand Down
1 change: 1 addition & 0 deletions lti_consumer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def lti_deeplinking_enabled():
"""
return settings.FEATURES.get('LTI_DEEP_LINKING_ENABLED', False) is True # pragma: no cover


def expose_pii_fields():
"""
Returns `true` if Use's PII fields can be exposed to LTI endpoints,
Expand Down

0 comments on commit 78c15b0

Please sign in to comment.