diff --git a/cms/static/js/views/import.js b/cms/static/js/views/import.js index 8c8354eb1f..2296df19ec 100644 --- a/cms/static/js/views/import.js +++ b/cms/static/js/views/import.js @@ -98,7 +98,7 @@ define( file: file, date: moment().valueOf(), completed: completed || false - }), {path: window.location.pathname}); + })); }; /** diff --git a/common/test/acceptance/tests/studio/base_studio_test.py b/common/test/acceptance/tests/studio/base_studio_test.py index cf41ca148b..82acb817f1 100644 --- a/common/test/acceptance/tests/studio/base_studio_test.py +++ b/common/test/acceptance/tests/studio/base_studio_test.py @@ -20,12 +20,6 @@ class StudioCourseTest(UniqueCourseTest): Install a course with no content using a fixture. """ super(StudioCourseTest, self).setUp() - self.install_course_fixture(is_staff) - - def install_course_fixture(self, is_staff=False): - """ - Install a course fixture - """ self.course_fixture = CourseFixture( self.course_info['org'], self.course_info['number'], diff --git a/common/test/acceptance/tests/studio/test_import_export.py b/common/test/acceptance/tests/studio/test_import_export.py index c649677e19..0d77c76805 100644 --- a/common/test/acceptance/tests/studio/test_import_export.py +++ b/common/test/acceptance/tests/studio/test_import_export.py @@ -364,34 +364,6 @@ class TestCourseImport(ImportTestMixin, StudioCourseTest): """ self.assertEqual(self.import_page.header_text, 'Course Import') - def test_multiple_course_import_message(self): - """ - Given that I visit an empty course before import - When I visit the import page - And I upload a course with file name 2015.lzdwNM.tar.gz - Then timestamp is visible after course is updated successfully - And then I create a new course - When I visit the import page of this new course - Then timestamp is not visible - """ - self.import_page.visit() - self.import_page.upload_tarball(self.tarball_name) - self.import_page.wait_for_upload() - self.assertTrue(self.import_page.is_timestamp_visible()) - - # Create a new course and visit the import page - self.course_info = { - 'org': 'test_org_2', - 'number': self.unique_id + '_2', - 'run': 'test_run_2', - 'display_name': 'Test Course 2' + self.unique_id - } - self.install_course_fixture() - self.import_page = self.import_page_class(*self.page_args()) - self.import_page.visit() - # As this is new course which is never import so timestamp should not present - self.assertFalse(self.import_page.is_timestamp_visible()) - @attr('shard_4') class TestLibraryImport(ImportTestMixin, StudioLibraryTest):