'Scenario: Admins can delete other users
Given I have opened a new course in Studio
And I am viewing the course team settings
When I add other user to the course team
And I delete other user from the course team
And other user logs in
Then he does not see the course on her page'

def test_admins_can_delete_other_users(self):

    self.page.add_user_to_course(self.other_user.get('email'))
    self._assert_user_present(self.other_user, present=True)
    self.page.delete_user_from_course(self.other_user.get('email'))
    self._assert_user_present(self.other_user, present=False)
    self.log_in(self.other_user)
    self._assert_current_course(visible=False)
