Compare port security groups as sets.
Change-Id: Ifaf8dbf481b29db7ea203a669ba8a44b9720f4e8
This commit is contained in:
parent
b91d08119c
commit
10435b42cd
|
@ -130,12 +130,12 @@ class FloatingIPTest(base.TobikoTest):
|
||||||
@property
|
@property
|
||||||
def expected_security_groups(self):
|
def expected_security_groups(self):
|
||||||
"""Expected port security groups"""
|
"""Expected port security groups"""
|
||||||
return self.floating_ip_stack.security_groups
|
return set(self.floating_ip_stack.security_groups)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def observed_security_groups(self):
|
def observed_security_groups(self):
|
||||||
"""Actual port security group"""
|
"""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 -----------------------
|
# --- test net-mtu and net-mtu-writable extensions -----------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue