Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9bf1a6e2
Commit
9bf1a6e2
authored
Dec 20, 2012
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docstring and test for gst
parent
100da2ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
common/lib/xmodule/xmodule/tests/test_export.py
+5
-3
No files found.
common/lib/xmodule/xmodule/tests/test_export.py
View file @
9bf1a6e2
...
...
@@ -39,9 +39,12 @@ def strip_filenames(descriptor):
class
RoundTripTestCase
(
unittest
.
TestCase
):
'''Check that our test courses roundtrip properly'''
''' Check that our test courses roundtrip properly.
Same course imported , than exported, then imported again.
And we compare original import with second import (after export).
Thus we make sure that export and import work properly.
'''
def
check_export_roundtrip
(
self
,
data_dir
,
course_dir
):
# import ipdb; ipdb.set_trace()
root_dir
=
path
(
mkdtemp
())
print
"Copying test course to temp dir {0}"
.
format
(
root_dir
)
...
...
@@ -120,5 +123,4 @@ class RoundTripTestCase(unittest.TestCase):
def
test_graphicslidertool_roundtrip
(
self
):
#Test graphicslidertool xmodule to see if it exports correctly
# import ipdb; ipdb.set_trace()
self
.
check_export_roundtrip
(
DATA_DIR
,
"graphic_slider_tool"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment