self.assertContains(response,'<td>user does not exist, enrollment allowed, pending with auto enrollment on, email sent</td>')
#Check the outbox
#Check the outbox
self.assertEqual(len(mail.outbox),3)
self.assertEqual(mail.outbox[0].subject,'You have been enrolled in MITx/999/Robot_Super_Course')
self.assertEqual(mail.outbox[0].body,"Dear Jim Tester\n\nYou have been enrolled in MITx/999/Robot_Super_Course at edx.org by a member of the course staff. "+
...
...
@@ -227,19 +227,19 @@ class TestInstructorEnrollsStudent(ModuleStoreTestCase, LoginEnrollmentTestCase)
self.assertEqual(mail.outbox[0].subject,'You have been un-enrolled from MITx/999/Robot_Super_Course')
self.assertEqual(mail.outbox[0].body,"Dear Student,\n\nYou have been un-enrolled from course MITx/999/Robot_Super_Course by a member of the course staff. "+