Rename a test method in test_policy.py
Rename 'test_check_is_advsvc_with_svc_context_suceeds' to 'test_check_is_advsvc_with_svc_context_succeeds' Change-Id: Id73a09c2d838051fdcf5ec867b0a1a5821ddfc9d
This commit is contained in:
parent
b19772c592
commit
666aad61c5
@ -377,7 +377,7 @@ class NeutronPolicyTestCase(base.BaseTestCase):
|
||||
admin_context = context.get_admin_context()
|
||||
self.assertFalse(policy.check_is_advsvc(admin_context))
|
||||
|
||||
def test_check_is_advsvc_with_svc_context_suceeds(self):
|
||||
def test_check_is_advsvc_with_svc_context_succeeds(self):
|
||||
svc_context = context.Context('', 'svc', roles=['advsvc'])
|
||||
self.assertTrue(policy.check_is_advsvc(svc_context))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user