def setUp(self):
self.user = UserFactory.create(is_staff=True, is_active=True)<EOL>self.user.set_password("<STR_LIT>")<EOL>self.user.save()<EOL>self.client = Client()<EOL>self.demo_course_1 = FAKE_PROGRAM_RESPONSE3['<STR_LIT>'][<NUM_LIT:0>]<EOL>self.demo_course_2 = FAKE_PROGRAM_RESPONSE3['<STR_LIT>'][<NUM_LIT:1>]<EOL>self.demo_course_id1 = FAKE_PROGRAM_RESPONSE3['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT:key>']<EOL>self.demo_course_id2 = FAKE_PROGRAM_RESPONSE3['<STR_LIT>'][<NUM_LIT:1>]['<STR_LIT:key>']<EOL>self.demo_course_ids = [self.demo_course_id1, self.demo_course_id2]<EOL>self.dummy_program_uuid = FAKE_PROGRAM_RESPONSE3['<STR_LIT>']<EOL>self.dummy_program = FAKE_PROGRAM_RESPONSE3<EOL>super(TestProgramEnrollmentView, self).setUp()<EOL>
Set up reusable fake data.