From b6e028cf2440d1cdc8ffb4d495c184a0b28103cd Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 2 Apr 2013 23:35:34 +0100 Subject: [PATCH] [tests] misc: fix FastRSS tests --- lib/tests/misc.py | 103 ++++++++++++++-------------------------------- 1 file changed, 30 insertions(+), 73 deletions(-) diff --git a/lib/tests/misc.py b/lib/tests/misc.py index 22fa14fa5..9255a0164 100644 --- a/lib/tests/misc.py +++ b/lib/tests/misc.py @@ -152,80 +152,37 @@ class MiscTest(unittest.TestCase): fast_rss.append("title2", "link2", "description2", "2") fast_rss.commit() - expected_outcome = """\ + expected_outcome = """ - - - - title - - - http://url - - - description - - - en-EN - - - Sabayon Linux - (C) 2011 - - - editor - - - - link1 - - - link1 - - - description1 - - - 1 - - - title1 - - - - - link - - - link - - - description - - - 0 - - - title - - - - - link2 - - - link2 - - - description2 - - - 2 - - - title2 - - - + + + title + http://url + description + en-EN + Sabayon Linux - (C) 2011 + editor + + description1 + link1 + link1 + 1 + title1 + + + description + link + link0 + title + + + description2 + link2 + link2 + 2 + title2 + + """ with open(tmp_path, "r") as tmp_f: self.assertEqual(