'Test that command indexes a single passed team.'

@patch.object(CourseTeamIndexer, 'index')
def test_single_team_id(self, mock_index):

    call_command('reindex_course_team', self.team1.team_id)
    mock_index.assert_called_once_with(self.team1)
    mock_index.reset_mock()
