diff --git a/os_ken/tests/integrated/test_of_config.py b/os_ken/tests/integrated/test_of_config.py index 70a4a342..e39d7c90 100644 --- a/os_ken/tests/integrated/test_of_config.py +++ b/os_ken/tests/integrated/test_of_config.py @@ -235,7 +235,7 @@ class OFConfigClient(app_manager.OSKenApp): self._validate(tree) name_spaces = set() - for e in tree.getiterator(): + for e in tree.iter(): name_spaces.add(capable_switch.get_ns_tag(e.tag)[0]) print(name_spaces)