askbot.tests

tests – Module for testing Askbot

class askbot.tests.AnonymousVisitorTests(methodName='runTest')

Bases: django.test.testcases.TestCase

test_index()
test_reader_urls()

test all reader views thoroughly on non-crashiness (no correcteness tests here)

class askbot.tests.UpdateNotificationTests(methodName='runTest')

Bases: django.test.testcases.TestCase

post_mention_in_answer_then_delete()
post_mention_in_answer_then_edit_out()
post_mention_in_question_then_delete()
post_mention_in_question_then_edit_out()
post_then_delete_answer()
post_then_delete_answer_comment()
post_then_delete_question_comment()
reload_users()
reset_response_counts()
setUp()
test_answer_edit()
test_comments_to_post_authors()
test_new_answer()
test_post_mention_in_question_comment_then_delete()
test_question_edit()

when question is edited response receivers are question authors, commenters and answer authors, but not answer commenters

test_self_comments()
test_self_mention_not_posting_in_comment_to_answer()
test_self_mention_not_posting_in_comment_to_question1()
test_self_mention_not_posting_in_comment_to_question2()
askbot.tests.create_user(username=None, email=None)

Creates a user and sets default update subscription settings

askbot.tests.get_re_notif_after(timestamp)

Table Of Contents

This Page