From 46d27a6b8d8e988f665d102a1504e178133f7668 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 26 Oct 2012 22:40:35 +0200 Subject: [PATCH] Fixed feedgenerator tests under hash randomization --- tests/regressiontests/utils/feedgenerator.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/regressiontests/utils/feedgenerator.py b/tests/regressiontests/utils/feedgenerator.py index b646a5997d..bcd53bb2a0 100644 --- a/tests/regressiontests/utils/feedgenerator.py +++ b/tests/regressiontests/utils/feedgenerator.py @@ -104,10 +104,14 @@ class FeedgeneratorTest(unittest.TestCase): feed = feedgenerator.Rss201rev2Feed('title', '/link/', 'descr') self.assertEqual(feed.feed['feed_url'], None) feed_content = feed.writeString('utf-8') - self.assertNotIn('', feed_content) + self.assertIn('