'Scenario: if the instructor uploads a non-csv file, an error message is presented.
Given I have a course with cohorting enabled
When I go to the cohort management section of the instructor dashboard
And I upload a file without the CSV extension
Then I get an error message stating that the file must have a CSV extension'

def test_cohort_by_csv_wrong_file_type(self):

    self.cohort_management_page.upload_cohort_file('image.jpg')
    self._verify_cohort_by_csv_notification("The    file    must    end    with    the    extension    '.csv'.")
