commit | 94cb05439d55512a417400e08fae01c19c82ab2f | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Mon Feb 13 17:51:47 2017 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Tue Feb 14 14:40:49 2017 +0800 |
tree | 546f229d61b3637153c4e9cb00c42a745a76e36a | |
parent | 488ea0900874daa26b5cbf3b65897ff2227784b1 [diff] |
Use base.create_flavor in servers test This is to replace the multi-lines of creating flavor with one call to base.create_flavor, so the code will look simpler. Besides, _get_unused_flavor_id in ServersAdminNegativeTestJSON is not necessary, for the random flavor id can hardly duplicate with the existing ones. Change-Id: I752b71860560a1a6c9368d07578a09b964859067