On Tue, Apr 8, 2014 at 11:21 AM, Mehdi Abaakouk <sil...@sileht.net> wrote:
> Hi,
>
> Le 2014-04-08 17:11, Ben Nemec a écrit :
>
>> It should be possible to switch back to testr for the py33 tests if we
>> use the regex syntax for filtering out the tests that don't work in
>> py3.  The rpc example is
>> https://github.com/openstack/oslo-incubator/blob/master/tox.ini#L21
>> and if you look at what tests2skip.py does in the tripleo tempest
>> element it should be an example of how to filter out failing tests:
>>
>> https://github.com/openstack/tripleo-image-elements/blob/master/elements/tempest/bin/run-tempest#L110
>
>
> Unfortunately, it won't work because testr/subunit needs to load all python
> files to compute the tests list, and then filter it with the regexes
> But in python3, all files cannot be loaded yet. This is why nosetests is
> used currently.

We can remove the rpc code from the incubator after Juno, but until
then we will need to work around this (either in the incubator or by
waiting until the modules move to their own repositories as part of
graduating to create new libraries).

Doug

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to