Update skipif condition for dcl.tests.test_create_vm_task
This commit is contained in:
parent
07ffbcda97
commit
e95967c668
1 changed files with 5 additions and 4 deletions
|
@ -49,10 +49,11 @@ class CeleryTaskTestCase(TestCase):
|
||||||
# OpenNebula
|
# OpenNebula
|
||||||
call_command('fetchvmtemplates')
|
call_command('fetchvmtemplates')
|
||||||
|
|
||||||
@skipIf(settings.OPENNEBULA_USERNAME is None or
|
@skipIf(
|
||||||
settings.OPENNEBULA_USERNAME is "",
|
settings.OPENNEBULA_DOMAIN is None or settings.OPENNEBULA_DOMAIN is
|
||||||
"""Opennebula details unavailable, so skipping test_create_vm_task
|
"test_domain",
|
||||||
""")
|
"""OpenNebula details unavailable, so skipping test_create_vm_task"""
|
||||||
|
)
|
||||||
def test_create_vm_task(self):
|
def test_create_vm_task(self):
|
||||||
"""Tests the create vm task for monthly subscription
|
"""Tests the create vm task for monthly subscription
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue