Merge "Fix the unit test error"

This commit is contained in:
Zuul 2018-07-06 02:03:35 +00:00 committed by Gerrit Code Review
commit a275c9a0c6
1 changed files with 4 additions and 2 deletions

View File

@ -1632,7 +1632,8 @@ class PluginTest(unittest.TestCase,
'project_id': project_id, 'project_id': project_id,
'description': 'description', 'description': 'description',
'host_routes': [], 'host_routes': [],
'dns_nameservers': [] 'dns_nameservers': [],
'segment_id': 'b85fd910-e483-4ef1-bdf5-b0f747d0b0d5'
} }
TOP_NETS.append(test_utils.DotDict(t_net)) TOP_NETS.append(test_utils.DotDict(t_net))
TOP_SUBNETS.append(test_utils.DotDict(t_subnet)) TOP_SUBNETS.append(test_utils.DotDict(t_subnet))
@ -1671,7 +1672,8 @@ class PluginTest(unittest.TestCase,
'project_id': project_id, 'project_id': project_id,
'description': 'description', 'description': 'description',
'host_routes': [], 'host_routes': [],
'dns_nameservers': [] 'dns_nameservers': [],
'segment_id': 'b85fd910-e483-4ef1-bdf5-b0f747d0b0d5'
} }
if region_name == 'pod_1': if region_name == 'pod_1':
BOTTOM1_NETS.append(test_utils.DotDict(b_net)) BOTTOM1_NETS.append(test_utils.DotDict(b_net))