CLOUDSTACK-5674: Added missing import for FAILED

This commit is contained in:
Girish Shilamkar 2014-02-14 14:59:35 +05:30
parent aa2831231c
commit 2d93d83b44
18 changed files with 18 additions and 0 deletions

View File

@ -16,6 +16,7 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *

View File

@ -22,6 +22,7 @@ from marvin.cloudstackTestCase import cloudstackTestCase
#Import Integration Libraries #Import Integration Libraries
from marvin.codes import FAILED
#base - contains all resources as entities and defines create, delete, list operations on them #base - contains all resources as entities and defines create, delete, list operations on them
from marvin.lib.base import Account, VirtualMachine, ServiceOffering from marvin.lib.base import Account, VirtualMachine, ServiceOffering

View File

@ -15,6 +15,7 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
from marvin.codes import FAILED
from marvin.cloudstackTestCase import cloudstackTestCase from marvin.cloudstackTestCase import cloudstackTestCase
from marvin.lib.base import Account, VirtualMachine, ServiceOffering, Host, Cluster from marvin.lib.base import Account, VirtualMachine, ServiceOffering, Host, Cluster
from marvin.lib.common import get_zone, get_domain, get_template from marvin.lib.common import get_zone, get_domain, get_template

View File

@ -17,6 +17,7 @@
""" Tests for configuring Internal Load Balancing Rules. """ Tests for configuring Internal Load Balancing Rules.
""" """
#Import Local Modules #Import Local Modules
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *

View File

@ -15,6 +15,7 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.sshClient import SshClient from marvin.sshClient import SshClient

View File

@ -16,6 +16,7 @@
# under the License. # under the License.
#Test from the Marvin - Testing in Python wiki #Test from the Marvin - Testing in Python wiki
from marvin.codes import FAILED
#All tests inherit from cloudstackTestCase #All tests inherit from cloudstackTestCase
from marvin.cloudstackTestCase import cloudstackTestCase from marvin.cloudstackTestCase import cloudstackTestCase

View File

@ -18,6 +18,7 @@
""" """
#Import Local Modules #Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackException import CloudstackAPIException from marvin.cloudstackException import CloudstackAPIException
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *

View File

@ -17,6 +17,7 @@
""" Tests for Network ACLs in VPC """ Tests for Network ACLs in VPC
""" """
#Import Local Modules #Import Local Modules
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *

View File

@ -16,6 +16,7 @@
# under the License. # under the License.
""" NIC tests for VM """ """ NIC tests for VM """
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.sshClient import SshClient from marvin.sshClient import SshClient

View File

@ -18,6 +18,7 @@
""" """
#Import Local Modules #Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *

View File

@ -18,6 +18,7 @@
""" """
#Import Local Modules #Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.sshClient import SshClient from marvin.sshClient import SshClient

View File

@ -18,6 +18,7 @@
""" """
#Import Local Modules #Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *

View File

@ -17,6 +17,7 @@
""" BVT tests for Service offerings""" """ BVT tests for Service offerings"""
#Import Local Modules #Import Local Modules
from marvin.codes import FAILED
from marvin.cloudstackTestCase import cloudstackTestCase from marvin.cloudstackTestCase import cloudstackTestCase
from marvin.cloudstackAPI import changeServiceForVirtualMachine,updateServiceOffering from marvin.cloudstackAPI import changeServiceForVirtualMachine,updateServiceOffering
from marvin.lib.utils import (isAlmostEqual, from marvin.lib.utils import (isAlmostEqual,

View File

@ -15,6 +15,7 @@
# specific language governing permissions and limitations # specific language governing permissions and limitations
# under the License. # under the License.
from marvin.codes import FAILED
from nose.plugins.attrib import attr from nose.plugins.attrib import attr
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *

View File

@ -18,6 +18,7 @@
""" """
#Import Local Modules #Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.sshClient import SshClient from marvin.sshClient import SshClient

View File

@ -18,6 +18,7 @@
""" """
#Import Local Modules #Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *

View File

@ -17,6 +17,7 @@
# Import Local Modules # Import Local Modules
import marvin import marvin
from marvin.codes import FAILED
from nose.plugins.attrib import attr from nose.plugins.attrib import attr
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *

View File

@ -17,6 +17,7 @@
""" Tests for VPN in VPC """ Tests for VPN in VPC
""" """
#Import Local Modules #Import Local Modules
from marvin.codes import FAILED
from marvin.cloudstackTestCase import * from marvin.cloudstackTestCase import *
from marvin.cloudstackAPI import * from marvin.cloudstackAPI import *
from marvin.lib.utils import * from marvin.lib.utils import *