You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2013/03/25 23:53:03 UTC

[Apache Bloodhound] #487: Test case `test_rss_conversion` in Trac core is failing

#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

Re: [Apache Bloodhound] #487: Test case `test_rss_conversion` in Trac core is failing

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#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:
Resolution:             |   Keywords:  unittest
------------------------+-----------------------

Comment (by olemis):

 I've seen this before . Take a look at the changes applied to
 ''trac/web/chrome.py'' in [https://bitbucket.org/olemis/bloodhound-
 mq/commits/cf1556b49ea4 this changeset] .

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