Browse Source

Merge "Fix the unit test error"

changes/87/569087/14
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
a275c9a0c6
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      tricircle/tests/unit/network/test_central_plugin.py

+ 4
- 2
tricircle/tests/unit/network/test_central_plugin.py View File

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


Loading…
Cancel
Save