]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Check for installed cinder in filter tests.
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 22 Jan 2013 04:50:20 +0000 (21:50 -0700)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 24 Jan 2013 18:25:41 +0000 (11:25 -0700)
commit9be3801e5bd3a73208485354d8370104792ef35c
tree350c2fa833f614a0b16342c1b760654e0cb3604e
parent5739ed173e7f0bef903e7bc609bb87286bb4304f
Check for installed cinder in filter tests.

Some of the filter tests require that the cinder pkg is
installed on the system, specifically cinder.egg-info/entry_points.

This change check that the egg-info directory exists in the root
cinder directory and determines whether to skip or not.

Change-Id: I36145f170e802aed5dfae8eec4684e60ad3d6f2c
cinder/tests/scheduler/test_capacity_weigher.py
cinder/tests/scheduler/test_filter_scheduler.py
cinder/tests/scheduler/test_host_filters.py
cinder/tests/utils.py