Fix track selection tests

This commit is contained in:
Renzo Lucioni
2014-11-04 15:25:38 -05:00
parent 5d110273a9
commit d9d09e2b4b

View File

@@ -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 registered.
self.assertIn("You are registering for", resp.content)
self.assertNotIn("You are now registered", resp.content)
# Expect that the rendered page says that the student is "enrolled",
# not that they've already been enrolled.
self.assertIn("You are enrolling", resp.content)
self.assertNotIn("You are now enrolled", resp.content)
def _prices_on_page(self, page_content):
""" Retrieve the available prices on the verify page. """