commit | 6b8cd2a370210653483996f4ce39d738ed4b03e0 | [log] [tgz] |
---|---|---|
author | Matthew Treinish <treinish@linux.vnet.ibm.com> | Mon Mar 03 20:45:56 2014 +0000 |
committer | Matthew Treinish <treinish@linux.vnet.ibm.com> | Mon Mar 03 20:02:56 2014 -0500 |
tree | e7487ea1097b7da9a9bd39f6b12f440e72b3f1bc | |
parent | 2fab8af5715283c994c8aa795dd0ec767e58fcce [diff] |
Cleanup subnet creation in network api tests This commit accomplishes 2 things, first it deduplicates the subnet creation code by changing test_create_update_delete_network_subnet() to use the common create_subnet() class method. Secondly the common create_subnet() method is changed to properly use else after the for loop instead of what was done before. Change-Id: I04b0516e03eeb8b8f95d72259aa78f573db6ae45