Compare port security groups as sets.

Change-Id: Ifaf8dbf481b29db7ea203a669ba8a44b9720f4e8
This commit is contained in:
Federico Ressi 2019-05-28 13:34:44 +02:00
parent b91d08119c
commit 10435b42cd
1 changed files with 2 additions and 2 deletions

View File

@ -130,12 +130,12 @@ class FloatingIPTest(base.TobikoTest):
@property
def expected_security_groups(self):
"""Expected port security groups"""
return self.floating_ip_stack.security_groups
return set(self.floating_ip_stack.security_groups)
@property
def observed_security_groups(self):
"""Actual port security group"""
return self.floating_ip_stack.outputs.security_groups
return set(self.floating_ip_stack.outputs.security_groups)
# --- test net-mtu and net-mtu-writable extensions -----------------------