diff options
| author | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-02 10:23:52 +0800 |
|---|---|---|
| committer | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-05 10:52:05 +0800 |
| commit | 0cc1492ccdf44312ea50630d92ac121ea8e579a8 (patch) | |
| tree | cc6b2912da797a8321055909380ef9d78ffc702b /openstackclient/common | |
| parent | 84cf168d1c13f4654b04bbca00b3bbc1e6a9f6a1 (diff) | |
| download | python-openstackclient-0cc1492ccdf44312ea50630d92ac121ea8e579a8.tar.gz | |
Refactor TestShowNetwork: Use TestNetwork in TestShowNetwork
There are severail problems in TestShowNetwork:
1. NETWORK_ITEM is not used.
2. Some redundant code.
3. The param n_mock is used to fake find_attr(), but the name is confusing.
So rename it to find_attr().
This patch fixes them.
Change-Id: I7bc909057125013fb9d215e92c61f847300f93e2
Implements: blueprint osc-network-unit-test-refactor
Related-to: blueprint neutron-client
Diffstat (limited to 'openstackclient/common')
0 files changed, 0 insertions, 0 deletions
