diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-10 23:53:07 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-10 23:53:07 -0400 |
commit | 7377d4b06d4f5c6ce7823ee016e26b4718a8b2a3 (patch) | |
tree | 835c688adff72035e022e086dd06729b7c5bf6e8 /askbot/tests | |
parent | 0dbfd025feeb018c8d82889801c4c195a4be8a92 (diff) | |
download | askbot-7377d4b06d4f5c6ce7823ee016e26b4718a8b2a3.tar.gz askbot-7377d4b06d4f5c6ce7823ee016e26b4718a8b2a3.tar.bz2 askbot-7377d4b06d4f5c6ce7823ee016e26b4718a8b2a3.zip |
removed reputation limit to post comments and allowed users repost own answers and comments
Diffstat (limited to 'askbot/tests')
-rw-r--r-- | askbot/tests/permission_assertion_tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
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() |