Merge "Fix typo in unit test"

This commit is contained in:
Zuul 2023-03-13 07:41:23 +00:00 committed by Gerrit Code Review
commit c610afb53a
1 changed files with 4 additions and 4 deletions

View File

@ -465,10 +465,10 @@ class AdminTests(PortAPITestCase):
def test_create_port_with_fixed_ips_and_subnet_id(self):
self.assertTrue(
policy.enforce(self.context,
'create_port:fixed_ips:subent_id', self.target))
'create_port:fixed_ips:subnet_id', self.target))
self.assertTrue(
policy.enforce(self.context,
'create_port:fixed_ips:subent_id', self.alt_target))
'create_port:fixed_ips:subnet_id', self.alt_target))
def test_create_port_with_port_security_enabled(self):
self.assertTrue(
@ -624,10 +624,10 @@ class AdminTests(PortAPITestCase):
def test_update_port_with_fixed_ips_and_subnet_id(self):
self.assertTrue(
policy.enforce(self.context,
'update_port:fixed_ips:subent_id', self.target))
'update_port:fixed_ips:subnet_id', self.target))
self.assertTrue(
policy.enforce(self.context,
'update_port:fixed_ips:subent_id', self.alt_target))
'update_port:fixed_ips:subnet_id', self.alt_target))
def test_update_port_with_port_security_enabled(self):
self.assertTrue(