From 7377d4b06d4f5c6ce7823ee016e26b4718a8b2a3 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Wed, 10 Apr 2013 23:53:07 -0400 Subject: removed reputation limit to post comments and allowed users repost own answers and comments --- askbot/tests/permission_assertion_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'askbot/tests/permission_assertion_tests.py') diff --git a/askbot/tests/permission_assertion_tests.py b/askbot/tests/permission_assertion_tests.py index 7f580dda..9d549450 100644 --- a/askbot/tests/permission_assertion_tests.py +++ b/askbot/tests/permission_assertion_tests.py @@ -893,7 +893,7 @@ class FlagOffensivePermissionAssertionTests(PermissionAssertionTestCase): class CommentPermissionAssertionTests(PermissionAssertionTestCase): def extraSetUp(self): - self.min_rep = askbot_settings.MIN_REP_TO_LEAVE_COMMENTS + self.min_rep = 10#askbot_settings.MIN_REP_TO_LEAVE_COMMENTS self.other_user = self.create_other_user() def test_blocked_user_cannot_comment_own_question(self): @@ -1079,6 +1079,7 @@ class CommentPermissionAssertionTests(PermissionAssertionTestCase): ) ) + """ def test_low_rep_user_cannot_comment_others(self): question = self.post_question( author = self.other_user @@ -1096,6 +1097,7 @@ class CommentPermissionAssertionTests(PermissionAssertionTestCase): question ) ) + """ def test_low_rep_user_can_comment_others_answer_to_own_question(self): question = self.post_question() -- cgit v1.2.3-1-g7c22