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
69a99878
Commit
69a99878
authored
Jul 08, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test case moved to test_admin.
parent
28115af4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
cms/djangoapps/course_creators/tests/test_views.py
+0
-12
No files found.
cms/djangoapps/course_creators/tests/test_views.py
View file @
69a99878
...
@@ -60,15 +60,3 @@ class CourseCreatorView(TestCase):
...
@@ -60,15 +60,3 @@ class CourseCreatorView(TestCase):
self
.
assertTrue
(
is_user_in_creator_group
(
self
.
user
))
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
)
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