def setUp(self):
super(BaseTestEnterpriseCustomerTransmitCoursesView, self).setUp()<EOL>self.user = UserFactory.create(is_staff=True, is_active=True, id=<NUM_LIT:1>)<EOL>self.user.set_password('<STR_LIT>')<EOL>self.user.save()<EOL>self.enterprise_channel_worker = UserFactory.create(is_staff=True, is_active=True)<EOL>self.enterprise_customer = EnterpriseCustomerFactory()<EOL>self.default_context = {<EOL>'<STR_LIT>': True,<EOL>'<STR_LIT>': self.enterprise_customer._meta,<EOL>'<STR_LIT:user>': self.user<EOL>}<EOL>self.transmit_courses_metadata_form = TransmitEnterpriseCoursesForm()<EOL>self.view_url = reverse(<EOL>'<STR_LIT>' + enterprise_admin.utils.UrlNames.TRANSMIT_COURSES_METADATA,<EOL>args=(self.enterprise_customer.uuid,)<EOL>)<EOL>self.client = Client()<EOL>self.context_parameters = EnterpriseCustomerTransmitCoursesView.ContextParameters<EOL>
Test set up