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:
Takashi NATSUME 2015-08-07 13:47:51 +09:00
parent b19772c592
commit 666aad61c5

View File

@ -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))