Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Replace nova delete keypair with shade client.
[yardstick.git]
/
yardstick
/
tests
/
unit
/
benchmark
/
scenarios
/
lib
/
test_get_flavor.py
diff --git
a/yardstick/tests/unit/benchmark/scenarios/lib/test_get_flavor.py
b/yardstick/tests/unit/benchmark/scenarios/lib/test_get_flavor.py
index
e9025f3
..
15a6f7c
100644
(file)
--- a/
yardstick/tests/unit/benchmark/scenarios/lib/test_get_flavor.py
+++ b/
yardstick/tests/unit/benchmark/scenarios/lib/test_get_flavor.py
@@
-22,4
+22,4
@@
class GetFlavorTestCase(unittest.TestCase):
args = {"options": options}
obj = GetFlavor(args, {})
obj.run({})
-
self.assertTrue(mock_get_flavor_by_name.called
)
+
mock_get_flavor_by_name.assert_called_once(
)