'Scenario: I should see a failed checklist when uploading an invalid course or library
Given that I am on an import page
And I upload a tarball with a broken XML file
The tasks should be confirmed up until the \'Updating\' task
And the \'Updating\' task should be marked failed
And the remaining tasks should not be marked as started'

def test_bad_import(self):

    self.import_page.upload_tarball(self.bad_tarball_name)
    self.import_page.wait_for_tasks(fail_on='Updating')
