Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-22 Thread Sylvain Bauza
Le 22/01/2014 01:37, Dugger, Donald D a écrit : Sylvain- Tnx, that worked great. (Now if I can just find a way to get the affinity tests working, all the other tests pass. I only have 17 tests failing out of 254.) I'm pretty busy these days with Climate 0.1 to deliver, but if I find

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-22 Thread Joe Gordon
. Gale Ph: 303/443-3786 -Original Message- From: Robert Collins [mailto:robe...@robertcollins.net] Sent: Tuesday, January 21, 2014 5:16 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [gantt] How to include nova modules in unit tests

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-22 Thread Sylvain Bauza
2014/1/22 Joe Gordon joe.gord...@gmail.com On Tue, Jan 21, 2014 at 7:35 PM, Dugger, Donald D donald.d.dug...@intel.com wrote: Well, the first goal is to get the scheduler code into a separate tree, even though that code is still utilizing common code from nova. Right now just about

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-22 Thread Dugger, Donald D
. Gale Ph: 303/443-3786 From: Joe Gordon [mailto:joe.gord...@gmail.com] Sent: Wednesday, January 22, 2014 2:31 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [gantt] How to include nova modules in unit tests On Tue, Jan 21, 2014 at 7:35 PM, Dugger

[openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-21 Thread Dugger, Donald D
I almost have the unit tests for gantt working except for one problem - is there a way to have the test infrastructure allow the gantt tree to import objects from the nova tree. The problem is that we want to break out just the scheduler code into the gantt tree without duplicating all of

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-21 Thread Sylvain Bauza
Hi Don, Look at how Climate is doing this [1]. The idea is to pull the master tarball as an eggfile. That works fine, the only issues we have is when we register opts to CONF where we could get DuplicateOpt if we try to register opt with same name when importing. -Sylvain [1] :

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-21 Thread Robert Collins
On 22 January 2014 11:57, Dugger, Donald D donald.d.dug...@intel.com wrote: I almost have the unit tests for gantt working except for one problem – is there a way to have the test infrastructure allow the gantt tree to import objects from the nova tree. The problem is that we want to break

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-21 Thread Dugger, Donald D
: 303/443-3786 -Original Message- From: Robert Collins [mailto:robe...@robertcollins.net] Sent: Tuesday, January 21, 2014 5:16 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [gantt] How to include nova modules in unit tests On 22 January 2014

Re: [openstack-dev] [gantt] How to include nova modules in unit tests

2014-01-21 Thread Dugger, Donald D
...@gmail.com] Sent: Tuesday, January 21, 2014 4:25 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [gantt] How to include nova modules in unit tests Hi Don, Look at how Climate is doing this [1]. The idea is to pull the master tarball as an eggfile