* conservative move to process_request * added temp_view_func_compare metric to be extra conservative ARCHBOM-1263
14 lines
287 B
Python
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
|