summaryrefslogtreecommitdiffstats
path: root/askbot/tests/post_model_tests.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-26 00:18:27 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-26 00:18:27 -0400
commitef5ed9c348b8659a156641de99b2a6bfac376d31 (patch)
treee21d91b6e2d40a3795f945a3d6a14a3f78094274 /askbot/tests/post_model_tests.py
parent1e1a8808500d07bb54f90a055f2fab8cf87ca87d (diff)
downloadaskbot-ef5ed9c348b8659a156641de99b2a6bfac376d31.tar.gz
askbot-ef5ed9c348b8659a156641de99b2a6bfac376d31.tar.bz2
askbot-ef5ed9c348b8659a156641de99b2a6bfac376d31.zip
a small refactoring of symbols in the post.py
Diffstat (limited to 'askbot/tests/post_model_tests.py')
-rw-r--r--askbot/tests/post_model_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/tests/post_model_tests.py b/askbot/tests/post_model_tests.py
index dd1399c1..9a4d47c8 100644
--- a/askbot/tests/post_model_tests.py
+++ b/askbot/tests/post_model_tests.py
@@ -344,7 +344,7 @@ class ThreadRenderLowLevelCachingTests(AskbotTestCase):
# Make sure that title and body text are escaped properly.
# This should be obvious at this point, if the above test passes, but why not be explicit
# UPDATE: And voila, these tests catched double-escaping bug in template, where `&lt;` was `&amp;lt;`
- # And indeed, post.summary is escaped before saving, in parse_and_save_post()
+ # And indeed, post.summary is escaped before saving, in parse_and_save()
# UPDATE 2:Weird things happen with question summary (it's double escaped etc., really weird) so
# let's just make sure that there are no tag placeholders left
self.assertTrue('&lt;&lt;&lt;tag1&gt;&gt;&gt; fake title' in proper_html)