Browse Source

Merge "Fix py2 vs py3 dict keys comparison in functional test" into stable/train

tags/7.1.0
Zuul Gerrit Code Review 1 month ago
parent
commit
f4ad4c495a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      networking_ovn/tests/functional/octavia/test_ovn_driver.py

+ 2
- 1
networking_ovn/tests/functional/octavia/test_ovn_driver.py View File

@@ -292,7 +292,8 @@ class TestOctaviaOvnProviderDriver(base.TestOVNFunctionalBase):
for expected_status in expected_statuses:
for updated_status in updated_statuses:
# Find status update having equal keys
if updated_status.keys() == expected_status.keys():
if (sorted(updated_status.keys()) ==
sorted(expected_status.keys())):
val_check = []
# Withing this status update check if all values of
# expected keys match.


Loading…
Cancel
Save