Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str Str Str keyword ListLoad AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str Str Str keyword ListLoad AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Dict Str Str keyword NameLoad Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Str keyword NameLoad Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad NameLoad attr Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str Str keyword ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call NameLoad Num AttributeLoad NameLoad attr Assert CompareIn AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assert CompareIn Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call NameLoad Num AttributeLoad NameLoad attr Assert CompareIn AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assert CompareIn Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assert CompareIn Str SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad keyword Str keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list
N/A mock patch Mock nose.tools eq_ django.contrib.contenttypes.models ContentType kitsune.access.tests PermissionFactory kitsune.forums.events NewThreadEvent NewPostEvent kitsune.forums.models Forum Thread kitsune.forums.tests ForumTestCase ForumFactory RestrictedForumFactory ThreadFactory PostFactory kitsune.sumo.tests get post kitsune.sumo.urlresolvers reverse kitsune.users.tests UserFactory GroupFactory PostPermissionsTests N/A ForumTestCase N/A N/A Test post views permissions. test_read_without_permission N/A N/A self N/A N/A N/A Listing posts without the view_in_forum permission should 404. N/A rforum N/A RestrictedForumFactory N/A t N/A ThreadFactory forum rforum N/A response N/A get N/A self client forums.posts args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 404 N/A response status_code N/A test_reply_without_view_permission N/A N/A self N/A N/A N/A Posting without view_in_forum permission should 404. N/A rforum N/A RestrictedForumFactory N/A t N/A ThreadFactory forum rforum N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A post N/A self client forums.reply N/A content Blahs args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 404 N/A response status_code N/A test_reply_without_post_permission N/A N/A self N/A N/A N/A Posting without post_in_forum permission should 403. N/A rforum N/A RestrictedForumFactory permission_code forums_forum.post_in_forum N/A t N/A ThreadFactory forum rforum N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A N/A N/A patch object Forum allows_viewing_by N/A Mock return_value True N/A N/A response N/A post N/A self client forums.reply N/A content Blahs args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 403 N/A response status_code N/A test_reply_thread_405 N/A N/A self N/A N/A N/A Replying to a thread via a GET instead of a POST request. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.reply args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 405 N/A response status_code N/A N/A ThreadAuthorityPermissionsTests N/A ForumTestCase N/A N/A Test thread views authority permissions. test_new_thread_without_view_permission N/A N/A self N/A N/A N/A Making a new thread without view permission should 404. N/A rforum N/A RestrictedForumFactory N/A N/A ThreadFactory forum rforum N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A post N/A self client forums.new_thread N/A title content Blahs Blahs args N/A N/A rforum slug N/A N/A eq_ 404 N/A response status_code N/A test_new_thread_without_post_permission N/A N/A self N/A N/A N/A Making a new thread without post permission should 403. N/A rforum N/A RestrictedForumFactory permission_code forums_forum.post_in_forum N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A N/A N/A patch object Forum allows_viewing_by N/A Mock return_value True N/A N/A response N/A post N/A self client forums.new_thread N/A title content Blahs Blahs args N/A N/A rforum slug N/A N/A eq_ 403 N/A response status_code N/A test_watch_GET_405 N/A N/A self N/A N/A N/A Watch forum with HTTP GET results in 405. N/A f N/A ForumFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.watch_forum args N/A N/A f id N/A N/A eq_ 405 N/A response status_code N/A test_watch_forum_without_permission N/A N/A self N/A N/A N/A Watching forums without the view_in_forum permission should 404.
         N/A rforum N/A RestrictedForumFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A N/A N/A self client post N/A reverse forums.watch_forum args N/A N/A rforum slug N/A watch yes follow False N/A N/A eq_ 404 N/A response status_code N/A test_watch_thread_without_permission N/A N/A self N/A N/A N/A Watching threads without the view_in_forum permission should 404.
         N/A rforum N/A RestrictedForumFactory N/A t N/A ThreadFactory forum rforum N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A N/A N/A self client post N/A reverse forums.watch_thread args N/A N/A N/A t forum slug N/A t id N/A watch yes follow False N/A N/A eq_ 404 N/A response status_code N/A test_read_without_permission N/A N/A self N/A N/A N/A Listing threads without the view_in_forum permission should 404.
         N/A rforum N/A RestrictedForumFactory N/A response N/A get N/A self client forums.threads args N/A N/A rforum slug N/A N/A eq_ 404 N/A response status_code N/A N/A ThreadTests N/A ForumTestCase N/A N/A Test thread views. test_watch_forum N/A N/A self N/A N/A N/A Watch then unwatch a forum. N/A f N/A ForumFactory N/A N/A PostFactory thread__forum f N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A N/A post N/A self client forums.watch_forum N/A watch yes args N/A N/A f slug N/A N/A N/A NewThreadEvent is_notifying u f N/A N/A N/A N/A NewPostEvent is_notifying u N/A f last_post N/A N/A post N/A self client forums.watch_forum N/A watch no args N/A N/A f slug N/A N/A N/A N/A NewThreadEvent is_notifying u f N/A test_watch_thread N/A N/A self N/A N/A N/A Watch then unwatch a thread. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A N/A post N/A self client forums.watch_thread N/A watch yes args N/A N/A N/A t forum slug N/A t id N/A N/A N/A NewPostEvent is_notifying u t N/A N/A N/A N/A NewThreadEvent is_notifying u N/A t forum N/A N/A post N/A self client forums.watch_thread N/A watch no args N/A N/A N/A t forum slug N/A t id N/A N/A N/A N/A NewPostEvent is_notifying u t N/A test_edit_thread_creator N/A N/A self N/A N/A N/A Changing thread title as the thread creator works. N/A t N/A ThreadFactory N/A u N/A t creator N/A N/A N/A N/A self client login username N/A u username password testpass N/A N/A post N/A self client forums.edit_thread N/A title A new title args N/A N/A N/A t forum slug N/A t id N/A edited_t N/A N/A N/A Thread objects get id N/A t id N/A N/A eq_ A new title N/A edited_t title N/A test_edit_thread_moderator N/A N/A self N/A N/A N/A Editing post as a moderator works. N/A t N/A ThreadFactory N/A f N/A t forum N/A u N/A UserFactory N/A g N/A GroupFactory N/A ct N/A N/A N/A ContentType objects get_for_model f N/A N/A PermissionFactory codename forums_forum.thread_edit_forum content_type ct object_id N/A f id group g N/A N/A N/A N/A g user_set add u N/A N/A N/A N/A self client login username N/A u username password testpass N/A r N/A post N/A self client forums.edit_thread N/A title new title args N/A N/A f slug N/A t id N/A N/A eq_ 200 N/A r status_code N/A edited_t N/A N/A N/A Thread objects get id N/A t id N/A N/A eq_ new title N/A edited_t title N/A test_new_thread_redirect N/A N/A self N/A N/A N/A Posting a new thread should redirect. N/A f N/A ForumFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A url N/A reverse forums.new_thread args N/A N/A f slug N/A data N/A title content some title some content N/A r N/A N/A N/A self client post url data follow False N/A N/A eq_ 302 N/A r status_code N/A N/A N/A f slug N/A r N/A location N/A N/A last= N/A r N/A location N/A test_reply_redirect N/A N/A self N/A N/A N/A Posting a reply should redirect. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A url N/A reverse forums.reply args N/A N/A N/A t forum slug N/A t id N/A data N/A content some content N/A r N/A N/A N/A self client post url data follow False N/A N/A eq_ 302 N/A r status_code N/A N/A N/A N/A t forum slug N/A r N/A location N/A N/A N/A str N/A t id N/A r N/A location N/A N/A last= N/A r N/A location N/A N/A ThreadPermissionsTests N/A ForumTestCase N/A test_edit_thread_403 N/A N/A self N/A N/A N/A Editing a thread without permissions returns 403. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.edit_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 403 N/A response status_code N/A test_edit_locked_thread_403 N/A N/A self N/A N/A N/A Editing a locked thread returns 403. N/A locked N/A ThreadFactory is_locked True N/A u N/A locked creator N/A N/A PostFactory thread locked author u N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.edit_thread args N/A N/A N/A locked forum slug N/A locked id N/A N/A eq_ 403 N/A response status_code N/A test_delete_thread_403 N/A N/A self N/A N/A N/A Deleting a thread without permissions returns 403. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.delete_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 403 N/A response status_code N/A test_sticky_thread_405 N/A N/A self N/A N/A N/A Marking a thread sticky with a HTTP GET returns 405. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.sticky_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 405 N/A response status_code N/A test_sticky_thread_403 N/A N/A self N/A N/A N/A Marking a thread sticky without permissions returns 403. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A post N/A self client forums.sticky_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 403 N/A response status_code N/A test_locked_thread_403 N/A N/A self N/A N/A N/A Marking a thread locked without permissions returns 403. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A post N/A self client forums.lock_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 403 N/A response status_code N/A test_locked_thread_405 N/A N/A self N/A N/A N/A Marking a thread locked via a GET instead of a POST request. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.lock_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 405 N/A response status_code N/A test_move_thread_403 N/A N/A self N/A N/A N/A Moving a thread without permissions returns 403. N/A t N/A ThreadFactory N/A f N/A ForumFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A post N/A self client forums.move_thread N/A forum N/A f id args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 403 N/A response status_code N/A test_move_thread_405 N/A N/A self N/A N/A N/A Moving a thread via a GET instead of a POST request. N/A t N/A ThreadFactory N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.move_thread args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 405 N/A response status_code N/A test_move_thread N/A N/A self N/A N/A N/A Move a thread. N/A t N/A ThreadFactory N/A f N/A ForumFactory N/A u N/A UserFactory N/A g N/A GroupFactory N/A ct N/A N/A N/A ContentType objects get_for_model f N/A N/A PermissionFactory codename forums_forum.thread_move_forum content_type ct object_id N/A f id group g N/A N/A PermissionFactory codename forums_forum.thread_move_forum content_type ct object_id N/A N/A t forum id group g N/A N/A N/A N/A g user_set add u N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A post N/A self client forums.move_thread N/A forum N/A f id args N/A N/A N/A t forum slug N/A t id N/A N/A eq_ 200 N/A response status_code N/A t N/A N/A N/A Thread objects get pk N/A t pk N/A N/A eq_ N/A f id N/A N/A t forum id N/A test_post_edit_403 N/A N/A self N/A N/A N/A Editing a post without permissions returns 403. N/A p N/A PostFactory N/A t N/A p thread N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.edit_post args N/A N/A N/A t forum slug N/A t id N/A p id N/A N/A eq_ 403 N/A response status_code N/A test_post_delete_403 N/A N/A self N/A N/A N/A Deleting a post without permissions returns 403. N/A p N/A PostFactory N/A t N/A p thread N/A u N/A UserFactory N/A N/A N/A N/A self client login username N/A u username password testpass N/A response N/A get N/A self client forums.delete_post args N/A N/A N/A t forum slug N/A t id N/A p id N/A N/A eq_ 403 N/A response status_code N/A N/A