def __init__(self, methodName='runTest'):
        super(ImageTestCase, self).__init__(methodName)

        self.apibase = api_sample.APITestBase()
        # test change bind_port
        self.set_conf('sdkserver', 'bind_port', 3001)
        self.client = test_sdkwsgi.TestSDKClient()
Exemple #2
0
    def setUpClass(cls):
        super(MonitorTestCase, cls).setUpClass()

        cls.client = test_sdkwsgi.TestSDKClient()
        cls.test_utils = test_utils.ZVMConnectorTestUtils()
        cls.userid1 = cls.test_utils.guest_deploy()[0]
        cls.userid2 = cls.test_utils.guest_deploy()[0]
Exemple #3
0
 def setUp(self):
     super(VersionTestCase, self).setUp()
     self.client = test_sdkwsgi.TestSDKClient()
     self.record_logfile_position()
 def setUp(self):
     self.client = test_sdkwsgi.TestSDKClient()