Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
a60b39e4
Commit
a60b39e4
authored
7 years ago
by
Michael Youngstrom
Browse files
Options
Downloads
Patches
Plain Diff
Remove test_multiple_course_import_message
parent
de31fefb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/test/acceptance/tests/studio/test_import_export.py
+0
-28
0 additions, 28 deletions
common/test/acceptance/tests/studio/test_import_export.py
with
0 additions
and
28 deletions
common/test/acceptance/tests/studio/test_import_export.py
+
0
−
28
View file @
a60b39e4
...
...
@@ -250,34 +250,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
'
:
'
orgX
'
,
'
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
=
7
)
class
TestLibraryImport
(
ImportTestMixin
,
StudioLibraryTest
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment