diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-26 00:18:27 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-26 00:18:27 -0400 |
commit | ef5ed9c348b8659a156641de99b2a6bfac376d31 (patch) | |
tree | e21d91b6e2d40a3795f945a3d6a14a3f78094274 /askbot/tests/post_model_tests.py | |
parent | 1e1a8808500d07bb54f90a055f2fab8cf87ca87d (diff) | |
download | askbot-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.py | 2 |
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 `<` was `&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('<<<tag1>>> fake title' in proper_html) |