'Scenario: teams tab should not be present if student is not enrolled in the course
Given there is a course with team configuration and topics
And I am not enrolled in that course, and am not global staff
When I view the course info page
Then I should not see the Teams tab'

def test_teams_not_enabled_not_enrolled(self):

    self.set_team_configuration({u'max_team_size': 10, u'topics': self.create_topics(1)}, enroll_in_course=False)
    self.verify_teams_present(False)
