incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject [Apache Bloodhound] #487: Test case `test_rss_conversion` in Trac core is failing
Date Mon, 25 Mar 2013 22:53:03 GMT
#487: Test case `test_rss_conversion` in Trac core is failing
-----------------------+-----------------------
 Reporter:  rjollos    |      Owner:  nobody
     Type:  defect     |     Status:  new
 Priority:  minor      |  Milestone:  Release 6
Component:  trac core  |    Version:
 Keywords:  unittest   |
-----------------------+-----------------------
 Here is another test case that is failing at the latest revision
 (r1457457) of the source. I'm fairly sure this test case was not failing
 when I reported #469, but it was failing earlier today before the patch
 for #469 was applied.

 {{{
 test_unicode_verifyrev
 (tracopt.versioncontrol.git.tests.PyGIT.UnicodeNameTestCase) ... ok
 Mock (trac.test)
 Doctest: trac.test.Mock ... ok

 ======================================================================
 FAIL: test_rss_conversion
 (trac.ticket.tests.conversion.TicketConversionTestCase)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/user/Workspace/bh469/trac/trac/ticket/tests/conversion.py",
 line 93, in test_rss_conversion
     (content.replace('\r', ''), mimetype, ext))
 AssertionError: Tuples differ: ('<?xml version="1.0"?>\n<rss ... !=
 ('<?xml version="1.0"?>\n<rss ...

 First differing element 0:
 <?xml version="1.0"?>
 <rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
   <channel>
     <title>My Project: Ticket #1: Foo</title>
     <link>http://example.org/trac.cgi/ticket/1</link>
     <description>&lt;p&gt;
 Bar
 &lt;/p&gt;
 </description>
     <language>en-us</language>
     <generator>Trac 1.0.1</generator>
  </channel>
 </rss>
 <?xml version="1.0"?>
 <rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
   <channel>
     <title>My Project: Ticket #1: Foo</title>
     <link>http://example.org/trac.cgi/ticket/1</link>
     <description>&lt;p&gt;
 Bar
 &lt;/p&gt;
 </description>
     <language>en-us</language>
     <generator>Trac 1.0.1
 </generator>
  </channel>
 </rss>

 Diff is 1444 characters long. Set self.maxDiff to None to see it.

 ----------------------------------------------------------------------
 Ran 1215 tests in 14.057s

 FAILED (failures=1)
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/487>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Mime
View raw message