From 7f44cf82bf8255a336104ac40191e51a0aa7ec52 Mon Sep 17 00:00:00 2001 From: Chris Alfonso Date: Tue, 17 Apr 2012 15:55:36 -0400 Subject: [PATCH] Adding resource initialization test --- heat/tests/test_resources.py | 2 +- run_tests.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2