#440: Implement ProductEnvironments as parametric singletons
---------------------------+------------------------------------------
  Reporter:  olemis        |      Owner:  olemis
      Type:  enhancement   |     Status:  assigned
  Priority:  major         |  Milestone:  Release 6
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  bep-0003 product environment
---------------------------+------------------------------------------

Comment (by olemis):

 Patch refreshed and submitted . See
 [http://code.activestate.com/recipes/498245-lru-and-lfu-cache-
 decorators/?c=15148#c9 this comment] . Added
 [attachment:t440_r1456016_py26_compat.diff another patch] for python<2.7
 compatibility . Please , at least as long as we support 2.6 , let's all
 test the code with that version .

 As a result

 {{{
 #!sh

 $ python setup.py test -m tests

 [...]

 ======================================================================
 FAIL: Test Another arbitrary protocol Link
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 
"/media/b-500gb/projects/_hg/bloodhound_main/trac/trac/wiki/tests/formatter.py",
 line 209, in test
     % (msg, self.file, self.line, self.title, formatter.flavor))
 AssertionError: u'<p>\n<a class="ext-link"
 href="svn+ssh://secureserver.org"><span class="icon"> [truncated]... !=
 u'<p>\n<a class="ext-link" href="svn+ssh://secureserver.org"><span
 class="icon"> [truncated]...
   <p>
   <a class="ext-link" href="svn+ssh://secureserver.org"><span
 class="icon"></span>svn+ssh://secureserver.org</a>
   <a class="ext-link" href="svn+ssh://secureserver.org"><span
 class="icon"></span>SVN link</a>
 - <a class="ext-link" href="rfc-2396.compatible://link"><span
 class="icon"></span>rfc-2396.compatible://link</a>
 + <a class="missing product">rfc-2396</a>.compatible://link
   <a class="ext-link" href="rfc-2396.compatible://link"><span
 class="icon"></span>RFC 2396</a>
 - <a class="ext-link" href="rfc-2396+under_score://link"><span
 class="icon"></span>rfc-2396+under_score://link</a>
 + <a class="missing product">rfc-2396</a>+under_score://link
   <a class="ext-link" href="rfc-2396+under_score://link"><span
 class="icon"></span>underscore</a>
   unsafe://scheme is not rendered
   </p>


 /pah/to/bloodhound/trac/trac/wiki/tests/wiki-tests.txt:474: "Another
 arbitrary protocol Link" (default flavor)

 ----------------------------------------------------------------------

 ----------------------------------------------------------------------
 Ran 1122 tests in 521.232s

 FAILED (failures=1)

 }}}

 [comment:2 Patch order] updated accordingly .

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

Reply via email to