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
7d82b6cb
Commit
7d82b6cb
authored
Jan 28, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into tests/diana/update-oe-unit-tests
parents
ffbda8a0
2e19de2d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
Gemfile
+0
-1
common/djangoapps/student/management/commands/tests/test_pearson.py
+3
-2
lms/envs/test.py
+1
-1
lms/static/coffee/src/navigation.coffee
+1
-0
No files found.
Gemfile
View file @
7d82b6cb
source
:rubygems
source
:rubygems
ruby
"1.8.7"
gem
'
rake
'
,
'~> 10.0.3'
gem
'
rake
'
,
'~> 10.0.3'
gem
'
sass
'
,
'3.1.15'
gem
'
sass
'
,
'3.1.15'
gem
'
bourbon
'
,
'~> 1.3.6'
gem
'
bourbon
'
,
'~> 1.3.6'
...
...
common/djangoapps/student/management/commands/tests/test_pearson.py
View file @
7d82b6cb
...
@@ -40,6 +40,7 @@ def create_tc_registration(username, course_id = 'org1/course1/term1', exam_code
...
@@ -40,6 +40,7 @@ def create_tc_registration(username, course_id = 'org1/course1/term1', exam_code
'eligibility_appointment_date_first'
:
'2013-01-01T00:00'
,
'eligibility_appointment_date_first'
:
'2013-01-01T00:00'
,
'eligibility_appointment_date_last'
:
'2013-12-31T23:59'
,
'eligibility_appointment_date_last'
:
'2013-12-31T23:59'
,
'accommodation_code'
:
accommodation_code
,
'accommodation_code'
:
accommodation_code
,
'create_dummy_exam'
:
True
,
}
}
call_command
(
'pearson_make_tc_registration'
,
username
,
course_id
,
**
options
)
call_command
(
'pearson_make_tc_registration'
,
username
,
course_id
,
**
options
)
...
@@ -179,11 +180,11 @@ class PearsonCommandTestCase(PearsonTestCase):
...
@@ -179,11 +180,11 @@ class PearsonCommandTestCase(PearsonTestCase):
self
.
assertErrorContains
(
error_string
,
'Field Form Error: address_1'
)
self
.
assertErrorContains
(
error_string
,
'Field Form Error: address_1'
)
def
test_create_good_testcenter_user
(
self
):
def
test_create_good_testcenter_user
(
self
):
testcenter_user
=
create_tc_user
(
"test
1
"
)
testcenter_user
=
create_tc_user
(
"test
_good_user
"
)
self
.
assertIsNotNone
(
testcenter_user
)
self
.
assertIsNotNone
(
testcenter_user
)
def
test_create_good_testcenter_registration
(
self
):
def
test_create_good_testcenter_registration
(
self
):
username
=
'test
1
'
username
=
'test
_good_registration
'
create_tc_user
(
username
)
create_tc_user
(
username
)
registration
=
create_tc_registration
(
username
)
registration
=
create_tc_registration
(
username
)
self
.
assertIsNotNone
(
registration
)
self
.
assertIsNotNone
(
registration
)
...
...
lms/envs/test.py
View file @
7d82b6cb
...
@@ -17,7 +17,7 @@ from path import path
...
@@ -17,7 +17,7 @@ from path import path
MITX_FEATURES
[
'DISABLE_START_DATES'
]
=
True
MITX_FEATURES
[
'DISABLE_START_DATES'
]
=
True
# Until we have discussion actually working in test mode, just turn it off
# Until we have discussion actually working in test mode, just turn it off
#MITX_FEATURES['ENABLE_DISCUSSION_SERVICE'] = Tru
e
MITX_FEATURES
[
'ENABLE_DISCUSSION_SERVICE'
]
=
Fals
e
# Need wiki for courseware views to work. TODO (vshnayder): shouldn't need it.
# Need wiki for courseware views to work. TODO (vshnayder): shouldn't need it.
WIKI_ENABLED
=
True
WIKI_ENABLED
=
True
...
...
lms/static/coffee/src/navigation.coffee
View file @
7d82b6cb
...
@@ -13,6 +13,7 @@ class @Navigation
...
@@ -13,6 +13,7 @@ class @Navigation
active
:
active
active
:
active
header
:
'h3'
header
:
'h3'
autoHeight
:
false
autoHeight
:
false
heightStyle
:
'content'
$
(
'#accordion .ui-state-active'
).
closest
(
'.chapter'
).
addClass
(
'is-open'
)
$
(
'#accordion .ui-state-active'
).
closest
(
'.chapter'
).
addClass
(
'is-open'
)
$
(
'#open_close_accordion a'
).
click
@
toggle
$
(
'#open_close_accordion a'
).
click
@
toggle
$
(
'#accordion'
).
show
()
$
(
'#accordion'
).
show
()
...
...
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