def setUp(self):
        """
        Set up the user and other fields that will be used to instantiate the runtime.
        """
        super().setUp()
        self.course = CourseFactory.create()
        self.user = UserFactory()
        self.request = RequestFactory().get('/dummy-url')
        self.request.user = self.user
        self.request.session = {}
        self.descriptor = ItemFactory(category="video", parent=self.course)
        self.field_data = mock.Mock()
        self.runtime = _preview_module_system(
            self.request,
            self.descriptor,
            self.field_data,
        )