How many of the modules affected by this are slated to be moved to their own libraries during Juno? I would expect those libraries to be using testr, so can we just make the change as we graduate them?
Doug On Tue, Apr 8, 2014 at 9:12 AM, victor stinner <victor.stin...@enovance.com> wrote: > Hi, > > Olso Incubator runs tests using testr on Python 2, but it uses nosetests on > Python 3 to only run a subset of the test suite (modules and tests ported to > Python 3). In my latest patch for Oslo Incubator (gettext), Ben Nemec wrote: > "I think we could get around the nose issue by using a testr regex to filter > the tests we run for py33 (like I did in py27 for running everything but rpc > in parallel), but that's outside the scope of this change so +2." > > I tried to run Olso Incubator tests with testr on Python 3, but testr fails > to load "openstack.common.eventlet_backdoor", because eventlet module is not > installed (eventlet is not Python 3 compatible yet). If I understood > correctly, testr first loads all modules and then filter the tests to run > using the regex passed on the command line. If I'm correct, I don't see right > now how to run Olso Incubator tests with testr on Python 3. But I don't know > well the Testr tool, so I missed probably an option. > > I would like to use testr because many Olso Incubator tests use testscenarios > (which doesn't work with nosetests). > > By the way, would it be possible to fix nosetests to use testscenarios? > > Victor > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev