Files
edx-platform/lms/djangoapps/monitoring/tests/mock_views.py
Robert Raposa b721e186f3 ARCHBOM-1263: enhance code owner middleware (#24184)
* conservative move to process_request
* added temp_view_func_compare metric to be extra conservative

ARCHBOM-1263
2020-06-10 10:36:13 -04:00

14 lines
287 B
Python

"""
Mock views with a different module to enable testing of mapping
code_owner to modules. Trying to mock __module__ on a view was
getting too complex.
"""
from rest_framework.views import APIView
class MockViewTest(APIView):
"""
Mock view for use in testing.
"""
pass