You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Ryan Ollos <ry...@wandisco.com> on 2013/09/09 05:52:49 UTC

Re: [Apache Bloodhound] #387: Rewrite Trac functional test cases against product environments - after #355

On Sun, Sep 8, 2013 at 7:28 AM, Apache Bloodhound <dev@bloodhound.apache.org
> wrote:

> #387: Rewrite Trac functional test cases against product environments -
> after
> #355
> -------------------------+-------------------------------------------------
>   Reporter:  olemis      |      Owner:  rjollos
>       Type:  task        |     Status:  review
>   Priority:  major       |  Milestone:  Release 8
>  Component:              |    Version:
>   multiproduct           |   Keywords:  product environment functional
> Resolution:              |  testing QA
> -------------------------+-------------------------------------------------
>
> Comment (by olemis):
>
>  Replying to [comment:23 rjollos]:
>
>  @rjollos : one thing that's worth noting is that the use of `abc` module
>  might cause sort of a trouble due to the nature of metaclasses.


Any particular places that I should keep an eye out for such trouble? Would
this possibly cause trouble in Python 2.6 but not 2.7?


> If so ,
>  replacing `abc.abstractmethod` and `abc.abstractproperty` with functions
>  raising `NotImplementedError` will yield similar results .
>

I'll try to get some of these patches committed in the first half of this
week. I've mostly been working on getting all of my tickets resolved for
Trac 1.0.2, but I still have a bit of work to do there, so the release is
probably a few weeks out at best.

Re: [Apache Bloodhound] #387: Rewrite Trac functional test cases against product environments - after #355

Posted by Olemis Lang <ol...@gmail.com>.
On 9/8/13, Ryan Ollos <ry...@wandisco.com> wrote:
> On Sun, Sep 8, 2013 at 7:28 AM, Apache Bloodhound
> <dev@bloodhound.apache.org
>> wrote:
>
[...]
>>
>> Comment (by olemis):
>>
>>  Replying to [comment:23 rjollos]:
>>
>>  @rjollos : one thing that's worth noting is that the use of `abc` module
>>  might cause sort of a trouble due to the nature of metaclasses.
>
>
> Any particular places that I should keep an eye out for such trouble?

Well , the comment is based on my short experience running the RPC
test suite and also the fact that current solution is very influenced
by mixins .

> Would
> this possibly cause trouble in Python 2.6 but not 2.7?
>

Both , it's a matter of OOP . See

https://pypi.python.org/pypi/strait (informational)
http://code.activestate.com/recipes/204197/

>
>> If so ,
>>  replacing `abc.abstractmethod` and `abc.abstractproperty` with functions
>>  raising `NotImplementedError` will yield similar results .
>>
>
> I'll try to get some of these patches committed in the first half of this
> week.

\o/

[...]

-- 
Regards,

Olemis - @olemislc