Merge "Use right class method in IP availability tests"
This commit is contained in:
commit
3a97e8a567
@ -50,8 +50,8 @@ class NetworksIpAvailabilityTest(base.BaseAdminNetworkTest):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def resource_setup(cls):
|
def skip_checks(cls):
|
||||||
super(NetworksIpAvailabilityTest, cls).resource_setup()
|
super(NetworksIpAvailabilityTest, cls).skip_checks()
|
||||||
if not test.is_extension_enabled('network-ip-availability', 'network'):
|
if not test.is_extension_enabled('network-ip-availability', 'network'):
|
||||||
msg = "network-ip-availability extension not enabled."
|
msg = "network-ip-availability extension not enabled."
|
||||||
raise cls.skipException(msg)
|
raise cls.skipException(msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user