From: Chris Alfonso Date: Tue, 17 Apr 2012 19:55:36 +0000 (-0400) Subject: Adding resource initialization test X-Git-Tag: 2014.1~1938^2~3 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7f44cf82bf8255a336104ac40191e51a0aa7ec52;p=openstack-build%2Fheat-build.git Adding resource initialization test --- diff --git a/heat/tests/test_resources.py b/heat/tests/test_resources.py index ccb6e2ea..b67b444f 100644 --- a/heat/tests/test_resources.py +++ b/heat/tests/test_resources.py @@ -70,7 +70,7 @@ class ResourcesTest(unittest.TestCase): instance.itype_oflavor['256 MB Server'] = '256 MB Server' instance.create() - # allows testing of the test directly, shown below + # allows testing of the test directly, shown below if __name__ == '__main__': sys.argv.append(__file__) nose.main() diff --git a/run_tests.py b/run_tests.py index 73b18525..65fc5008 100644 --- a/run_tests.py +++ b/run_tests.py @@ -42,6 +42,7 @@ import os import unittest import sys +sys.path.append(os.environ['PYTHON_NOVACLIENT_SRC']) gettext.install('heat', unicode=1) from nose import config