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
44d7d952
Commit
44d7d952
authored
Feb 06, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2501 from edx/db/clarify-test
Minor test cleanup
parents
37fea91d
698aedc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
common/lib/xmodule/xmodule/tests/__init__.py
+9
-9
No files found.
common/lib/xmodule/xmodule/tests/__init__.py
View file @
44d7d952
...
...
@@ -24,20 +24,20 @@ from xmodule.error_module import ErrorDescriptor
from
xmodule.modulestore.xml
import
LocationReader
MODULE_DIR
=
path
(
__file__
)
.
dirname
()
# Location of common test DATA directory
# '../../../../edx-platform/common/test/data/'
MODULE_DIR
=
path
(
__file__
)
.
dirname
()
DATA_DIR
=
path
.
joinpath
(
*
MODULE_DIR
.
splitall
()[:
-
4
])
/
'test/data/'
DATA_DIR
=
MODULE_DIR
.
parent
.
parent
.
parent
.
parent
/
"test"
/
"data"
open_ended_grading_interface
=
{
'url'
:
'blah/'
,
'username'
:
'incorrect_user'
,
'password'
:
'incorrect_pass'
,
'staff_grading'
:
'staff_grading'
,
'peer_grading'
:
'peer_grading'
,
'grading_controller'
:
'grading_controller'
}
'url'
:
'blah/'
,
'username'
:
'incorrect_user'
,
'password'
:
'incorrect_pass'
,
'staff_grading'
:
'staff_grading'
,
'peer_grading'
:
'peer_grading'
,
'grading_controller'
:
'grading_controller'
,
}
class
TestModuleSystem
(
ModuleSystem
):
# pylint: disable=abstract-method
...
...
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