summaryrefslogtreecommitdiffstats
path: root/forum/tests.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-07 21:19:50 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-07 21:19:50 -0400
commite215c1d15b049b04f7a2497c07d3c9a3f380638d (patch)
tree65257c6d9b55810f39a641edc1bb6dec2d474393 /forum/tests.py
parent57033196f904477631c397fab50681f0d1aa7834 (diff)
downloadaskbot-e215c1d15b049b04f7a2497c07d3c9a3f380638d.tar.gz
askbot-e215c1d15b049b04f7a2497c07d3c9a3f380638d.tar.bz2
askbot-e215c1d15b049b04f7a2497c07d3c9a3f380638d.zip
envelope turns on correctly for responses, but not for mentions yet, added urls for cache monitoring
Diffstat (limited to 'forum/tests.py')
-rw-r--r--forum/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/forum/tests.py b/forum/tests.py
index c2e1765f..d93e7d4e 100644
--- a/forum/tests.py
+++ b/forum/tests.py
@@ -204,12 +204,12 @@ class UpdateNotificationTests(TestCase):
)
def test_comments_to_post_authors(self):
- self.reset_response_counts()
self.question.apply_edit(
edited_by = self.u14,
text = 'now much better',
comment = 'improved text'
)
+ self.reset_response_counts()
time.sleep(1)
timestamp = datetime.datetime.now()
self.question.add_comment(
@@ -250,7 +250,7 @@ class UpdateNotificationTests(TestCase):
text = 'now much better',
comment = 'improved text'
)
- self.reset_repsonse_counters()
+ self.reset_response_counts()
time.sleep(1)
timestamp = datetime.datetime.now()
self.answer1.add_comment(
@@ -360,7 +360,7 @@ class UpdateNotificationTests(TestCase):
],
[
1, 1, 1, 1,
- 0, 0, 0, 0,
+ 1, 0, 0, 0,
0, 0, 0, 0,
]
)