[openstack-dev] [gantt] How to include nova modules in unit tests
Robert Collins
robertc at robertcollins.net
Wed Jan 22 00:15:32 UTC 2014
On 22 January 2014 11:57, Dugger, Donald D <donald.d.dugger at 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 out just the scheduler code into the
> gantt tree without duplicating all of nova. The current scheduler has many
> imports of nova objects, which is not a problem except for the unit tests.
> The unit tests run in an environment that doesn’t include the nova tree so
> all of those imports wind up failing.
The goal though is to have an independent system; perhaps marking all
the tests that still depend on tendrils of nova 'skipped' and then
work on burning down the skips to 0 is a better approach than making
it easy to have such dependencies?
-Rob
--
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud
More information about the OpenStack-dev
mailing list