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
f938a5d9
Commit
f938a5d9
authored
Nov 04, 2014
by
Daniel Friedman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5840 from edx/renzo/fix-track-selection-tests
Fix track selection tests
parents
5d110273
d9d09e2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lms/djangoapps/verify_student/tests/test_integration.py
+4
-4
No files found.
lms/djangoapps/verify_student/tests/test_integration.py
View file @
f938a5d9
...
...
@@ -109,10 +109,10 @@ class TestProfEdVerification(ModuleStoreTestCase):
# automatically in the course.
self
.
assertFalse
(
CourseEnrollment
.
is_enrolled
(
self
.
user
,
self
.
course_key
))
# Expect that the rendered page says that the student is "
registering
",
# not that they've already been
register
ed.
self
.
assertIn
(
"You are
registering for
"
,
resp
.
content
)
self
.
assertNotIn
(
"You are now
register
ed"
,
resp
.
content
)
# Expect that the rendered page says that the student is "
enrolled
",
# not that they've already been
enroll
ed.
self
.
assertIn
(
"You are
enrolling
"
,
resp
.
content
)
self
.
assertNotIn
(
"You are now
enroll
ed"
,
resp
.
content
)
def
_prices_on_page
(
self
,
page_content
):
""" Retrieve the available prices on the verify page. """
...
...
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