]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Adding resource initialization test
authorChris Alfonso <calfonso@redhat.com>
Tue, 17 Apr 2012 19:55:36 +0000 (15:55 -0400)
committerChris Alfonso <calfonso@redhat.com>
Mon, 23 Apr 2012 12:35:09 +0000 (08:35 -0400)
heat/tests/test_resources.py
run_tests.py

index ccb6e2eae64712356e44455e17c8058d3956896a..b67b444fa1ebcbebaf3106abff5b457bfdab610a 100644 (file)
@@ -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()
index 73b185252d631f08cc50708f740e97ab423678e9..65fc5008204a2ea190bac24ef507e4f364c6b8ae 100644 (file)
@@ -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