diff options
author | Emma Foley <emma.l.foley@intel.com> | 2017-11-20 15:20:49 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-01-22 17:56:02 +0000 |
commit | bedcb3c33d14bd4259c37bcbca8a49d757c8cef4 (patch) | |
tree | 44db0d02e0b9f1cb65b1e1e599e2568945d65af1 /tools/yardstick-img-lxd-modify | |
parent | d2c7cc4e9768ed003257a95c92cdb278d516761b (diff) |
Clean unit tests in "benchmark.scenarios.lib.test_create_volume.py
* Use mock_object.assert_called_with instead of
self.assertTrue(mock_object.called)
* Remove an unneeded if clause in CreateVolume
* Add individual tests for each method in CreateVolume
Change-Id: I54cc56434d316f059b3822879145e6a299866fcb
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tools/yardstick-img-lxd-modify')
0 files changed, 0 insertions, 0 deletions