'Verify that the beta user can access threads in the beta and
global discussion modules.'

def test_beta_user(self, mock_request):

    thread_id = 'test_thread_id'
    mock_request.side_effect = make_mock_request_impl(course=self.course, text='dummy    content', thread_id=thread_id)
    for discussion_xblock in [self.beta_module, self.global_module]:
        self.assert_can_access(self.beta_user, discussion_xblock.discussion_id, thread_id, True)
    self.assert_can_access(self.beta_user, self.alpha_module.discussion_id, thread_id, False)
