def get_lms_permission_form(self):
        if not hasattr(self, '_lms_permission_form'):
            class NewLmsPermissionForm(self.get_permission_form(), GenericPermissionForm):
                pass
            self._lms_permission_form = LmsPermissionForm
        return self._lms_permission_form
tests the host aggregate creation and deletion functionalities:
dataset/ETHPy150Open gateway4labs/labmanager/labmanager/rlms/base.py/BaseFormCreator.get_lms_permission_form--crossover with--dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/integration_tests/tests/test_host_aggregates.py/TestHostAggregates.test_host_aggregate_create