Fix checking extension in api test

API test checks nonexistent extension "bgp_speaker".
This changes it into proper extension "bgp".

Change-Id: Iba927bacc35c8ff107a9b1636c775f3caf95e704
This commit is contained in:
Hirofumi Ichihara 2017-09-13 21:56:40 -06:00
parent d13fdaef43
commit 1bcaad970b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class BgpSpeakerTestJSONBase(base.BaseAdminNetworkTest):
@classmethod
def resource_setup(cls):
super(BgpSpeakerTestJSONBase, cls).resource_setup()
if not test.is_extension_enabled('bgp_speaker', 'network'):
if not test.is_extension_enabled('bgp', 'network'):
msg = "BGP Speaker extension is not enabled."
raise cls.skipException(msg)