Move getMenusForScope to the end of the View class.
Adhering to our principle that we the methods we use for generating our menus can be usually found at the bottom of the View class.
"""Django Unit Test and Doctest framework."""from django.test.client import Clientfrom django.test.testcases import TestCase