Skip to content

Commit 55480d0

Browse files
committed
Remove unuseful test data in test_netwrok.py
Change-Id: Ibd4f8bb602acdcc3421205d9dafc8dcafb9645df Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
1 parent 4be716e commit 55480d0

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

openstackclient/tests/network/v2/test_network.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -23,42 +23,6 @@
2323
from openstackclient.tests.network.v2 import fakes as network_fakes
2424
from openstackclient.tests import utils as tests_utils
2525

26-
RESOURCE = 'network'
27-
RESOURCES = 'networks'
28-
FAKE_ID = 'iditty'
29-
FAKE_NAME = 'noo'
30-
FAKE_PROJECT = 'yaa'
31-
RECORD = {
32-
'id': FAKE_ID,
33-
'name': FAKE_NAME,
34-
'admin_state_up': True,
35-
'router:external': True,
36-
'status': 'ACTIVE',
37-
'subnets': ['a', 'b'],
38-
'tenant_id': FAKE_PROJECT,
39-
}
40-
RESPONSE = {RESOURCE: copy.deepcopy(RECORD)}
41-
FILTERED = [
42-
(
43-
'id',
44-
'name',
45-
'project_id',
46-
'router_type',
47-
'state',
48-
'status',
49-
'subnets',
50-
),
51-
(
52-
FAKE_ID,
53-
FAKE_NAME,
54-
FAKE_PROJECT,
55-
'External',
56-
'UP',
57-
'ACTIVE',
58-
'a, b',
59-
),
60-
]
61-
6226

6327
class TestNetwork(network_fakes.TestNetworkV2):
6428

0 commit comments

Comments
 (0)