示例#1
0
    def __init__(self,methodname='runTest'):
        if isAppliance():
            if getpass.getuser() != "root":
                raise Exception("You must run this script as root")

        monoTestCase.__init__(self,methodname)
        self.verificationErrors = []
        unittest.TestCase.__init__(self, methodname)
示例#2
0
 def __init__(self,methodname='runTest'):
     monoTestCase.__init__(self,methodname)
     self.verificationErrors = []
     self.canRun = True # This value is deprecated
     checkOption(mono.base_url,'base_url')
     checkOption(mono.rc_server,'rc_server')
     checkOption(mono.rc_port,'rc_port')
     checkOption(mono.rc_browser,'rc_browser')
示例#3
0
 def __init__(self,methodname='runTest'):
     monoTestCase.__init__(self,methodname)
     self.verificationErrors = []
     self.canRun = True # This value is deprecated