Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix some small things in ApexLake tests
[yardstick.git]
/
yardstick
/
vTC
/
apexlake
/
tests
/
heat_manager_test.py
diff --git
a/yardstick/vTC/apexlake/tests/heat_manager_test.py
b/yardstick/vTC/apexlake/tests/heat_manager_test.py
index
9191a17
..
a2798a7
100644
(file)
--- a/
yardstick/vTC/apexlake/tests/heat_manager_test.py
+++ b/
yardstick/vTC/apexlake/tests/heat_manager_test.py
@@
-176,11
+176,18
@@
class TestHeatManager_2(unittest.TestCase):
self.assertFalse(self.heat_manager.delete_stack('stack_1'))
self.assertFalse(self.heat_manager.delete_stack('stack_1'))
+class ServiceCatalog():
+ def url_for(self, service_type):
+ return 'http://heat_url'
+
+
class KeystoneMock(object):
@property
def auth_token(self):
return 'token'
class KeystoneMock(object):
@property
def auth_token(self):
return 'token'
+ service_catalog = ServiceCatalog()
+
class TestHeatInit(unittest.TestCase):
def setUp(self):
class TestHeatInit(unittest.TestCase):
def setUp(self):