From 69a998780a9eff42c3c075fca08fbf24e581cb74 Mon Sep 17 00:00:00 2001 From: cahrens <christina@edx.org> Date: Mon, 8 Jul 2013 16:10:43 -0400 Subject: [PATCH] Remove test case moved to test_admin. --- cms/djangoapps/course_creators/tests/test_views.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cms/djangoapps/course_creators/tests/test_views.py b/cms/djangoapps/course_creators/tests/test_views.py index 16c8299..0ea5656 100644 --- a/cms/djangoapps/course_creators/tests/test_views.py +++ b/cms/djangoapps/course_creators/tests/test_views.py @@ -60,15 +60,3 @@ class CourseCreatorView(TestCase): self.assertTrue(is_user_in_creator_group(self.user)) - def test_delete_bad_user(self): - """ - Tests that users who no longer exist are deleted from the table. - """ - add_user_with_status_unrequested(self.admin, self.user) - self.user.delete() - # Ensure that the post-init callback runs (removes the entry from the table). - users = CourseCreator.objects.filter(username=self.user.username) - if users.count() == 1: - users[0].__init__() - with self.assertRaises(AssertionError): - get_course_creator_status(self.user) -- libgit2 0.26.0