def setUp(self):
		#调用驱动
		self.browser = setDriver().set_driver()

		self.comsuit = CommonSuiteData(self.browser)
		self.linuxresource = testLinuxResource(self.browser)
		self.database = testDatabaseResource(self.browser)
		self.account = testResourceAccount(self.browser)
		#添加数据库前置条件
		self.comsuit.database_resource_prefix_condition()
    def setUp(self):
        #调用驱动
        self.browser = setDriver().set_driver()

        self.comsuit = CommonSuiteData(self.browser)
        self.linuxresource = testLinuxResource(self.browser)
        self.account = testResourceAccount(self.browser)

        #资源前置条件
        self.comsuit.linuxre_module_prefix_condition()
Example #3
0
    def setUp(self):
        #调用驱动
        self.browser = setDriver().set_driver()

        self.comsuit = CommonSuiteData(self.browser)
        self.linuxresource = testLinuxResource(self.browser)
        self.database = testDatabaseResource(self.browser)
        self.account = testResourceAccount(self.browser)
        #添加数据库前置条件
        self.comsuit.database_resource_prefix_condition()
	def setUp(self):
		#调用驱动
		self.browser = setDriver().set_driver()

		self.comsuit = CommonSuiteData(self.browser)
		self.linuxresource = testLinuxResource(self.browser)
		self.network = testNetworkResource(self.browser)
		self.account = testResourceAccount(self.browser)

		#资源前置条件
		self.comsuit.networkre_module_prefix_condition()