NSX|v unit tests: fix fake_vcns get_section_id
The fake get_section_id resets the current list of sections, which is wrong Change-Id: I07db7c2ab383ba9ddeb6439de142be6405f1e81d
This commit is contained in:
parent
bd03392d88
commit
85c03d3e50
@ -991,7 +991,6 @@ class FakeVcns(object):
|
||||
return (headers, response)
|
||||
|
||||
def get_section_id(self, section_name):
|
||||
self._sections = {'section_ids': 0, 'rule_ids': 0, 'names': set()}
|
||||
for k, v in self._sections.items():
|
||||
if (k not in ('section_ids', 'rule_ids', 'names')
|
||||
and v['name'] == section_name):
|
||||
|
Loading…
x
Reference in New Issue
Block a user