'Scenario: Visiting the My Teams page when user is not a member of any team should not display any teams.
Given I am enrolled in a course with a team configuration and a topic but am not a member of a team
When I visit the My Teams page
And I should see no teams
And I should see a message that I belong to no teams.'

def test_not_member_of_any_teams(self):

    with self.assert_events_match_during(self.only_team_events, expected_events=[self.page_viewed_event]):
        self.my_teams_page.visit()
    self.assertEqual(len(self.my_teams_page.team_cards), 0, msg='Expected    to    see    no    team    cards')
    self.assertEqual(self.my_teams_page.q(css='.page-content-main').text, [u'You    are    not    currently    a    member    of    any    team.'])
