From 53446bb36edde490896aff3725b30a14d62c50fa Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Tue, 24 Apr 2012 14:17:40 -0400 Subject: [PATCH] Update virtual-env requires and documentation Document the necessitity to keep tools/*-requires up to date and add missing dependency. Signed-off-by: Jeff Peeler --- heat/db/sqlalchemy/session.py | 1 - heat/tests/testing-overview.txt | 4 ++++ tools/pip-requires | 2 ++ tools/test-requires | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/heat/db/sqlalchemy/session.py b/heat/db/sqlalchemy/session.py index 57227111..08806cfe 100644 --- a/heat/db/sqlalchemy/session.py +++ b/heat/db/sqlalchemy/session.py @@ -18,7 +18,6 @@ import sqlalchemy.interfaces import sqlalchemy.orm from sqlalchemy.exc import DisconnectionError -import nova.exception from heat.openstack.common import cfg from heat.db import api as db_api diff --git a/heat/tests/testing-overview.txt b/heat/tests/testing-overview.txt index 0c098180..e9b61300 100644 --- a/heat/tests/testing-overview.txt +++ b/heat/tests/testing-overview.txt @@ -99,6 +99,10 @@ include the tag attribute with at least these values: , either slow, normal, or fast. Following this convention allows for finer granular testing without having to find the specific tests to run. +If new dependencies are introduced upon the development of a test, the +tools/test-requires file needs to be updated so that the virtual +environment will be able to successfully execute all tests. + Running the tests ----------------- diff --git a/tools/pip-requires b/tools/pip-requires index 71542f24..4e4802ec 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -1,3 +1,5 @@ +# this file lists all the dependencies needed for running heat + # The greenlet package must be compiled with gcc and needs # the Python.h headers. Make sure you install the python-dev # package to get the right headers... diff --git a/tools/test-requires b/tools/test-requires index bf05a9bf..1e9e1741 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -1,4 +1,4 @@ -# Packages needed for dev testing +# this file lists dependencies required for the testing of heat distribute>=0.6.24 coverage @@ -6,3 +6,4 @@ nose nosexcover openstack.nose_plugin pep8==0.6.1 +python-mox -- 2.45.2