def make_viewport(self, map_image):
        map_rect = map_image.get_rect()
        return setup.SCREEN.get_rect(bottomright=map_rect.bottomright)
Test a middleware that implements process_view.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/states/main_menu.py/Instructions.make_viewport--crossover with--dataset/ETHPy150Open django/django/tests/utils_tests/test_decorators.py/DecoratorFromMiddlewareTests.test_process_view_middleware