'Scenario: Team Page renders a team discussion for a team to which I do
not belong.
Given I am enrolled in a course with a team configuration, a topic,
and a team belonging to that topic of which I am not a member
When the team has a discussion with a thread
And I visit the Team page for that team
Then I should see a discussion with the correct discussion_id
And I should see the team\'s thread
And I should not see controls to change the state of the discussion'

@ddt.data(True, False)
def test_discussion_on_other_team_page(self, is_staff):

    self._set_team_configuration_and_membership(create_membership=False)
    self.setup_discussion_user(staff=is_staff)
    self.verify_teams_discussion_permissions(False)
