Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Supporting user config task parameters in GUI"
[yardstick.git]
/
yardstick
/
tests
/
unit
/
benchmark
/
scenarios
/
lib
/
test_delete_keypair.py
diff --git
a/yardstick/tests/unit/benchmark/scenarios/lib/test_delete_keypair.py
b/yardstick/tests/unit/benchmark/scenarios/lib/test_delete_keypair.py
index
38cc929
..
6e790ba
100644
(file)
--- a/
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_keypair.py
+++ b/
yardstick/tests/unit/benchmark/scenarios/lib/test_delete_keypair.py
@@
-23,5
+23,5
@@
class DeleteKeypairTestCase(unittest.TestCase):
args = {"options": options}
obj = DeleteKeypair(args, {})
obj.run({})
args = {"options": options}
obj = DeleteKeypair(args, {})
obj.run({})
-
self.assertTrue(mock_get_nova_client.called
)
-
self.assertTrue(mock_delete_keypair.called
)
+
mock_get_nova_client.assert_called_once(
)
+
mock_delete_keypair.assert_called_once(
)