'Tests that the beta tester fields are set on LMS runtime.'

def test_beta_tester_fields_added(self):

    descriptor = ItemFactory(category='pure', parent=self.course)
    descriptor.days_early_for_beta = 5
    (runtime, _) = render.get_module_system_for_user(self.user, self.student_data, descriptor, self.course.id, self.track_function, self.xqueue_callback_url_prefix, self.request_token, course=self.course)
    self.assertFalse(runtime.user_is_beta_tester)
    self.assertEqual(runtime.days_early_for_beta, 5)
