コード例 #1
0
    def teardown_method(self):

        clr_env.iso_teardown_met('http', base_path)
        clr_env.clear_datacheck('http', base_path)

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #2
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        self.case0_step1 = index.case0_step1
        self.case1_step1 = index.case1_step1
        self.case1_step2 = index.case1_step2
        self.case1_step3 = index.case1_step3
        self.case2_step1 = index.case2_step1
        self.case2_step2 = index.case2_step2
        self.case2_step3 = index.case2_step3
        self.case3_step1 = index.case3_step1
        self.case3_step2 = index.case3_step2
        self.case3_step3 = index.case3_step3
        self.case4_step1 = index.case4_step1
        self.case4_step2 = index.case4_step2
        self.case4_step3 = index.case4_step3
        self.case5_step1 = index.case5_step1
        self.case5_step2 = index.case5_step2
        self.case5_step3 = index.case5_step3
        self.case6_step1 = index.case6_step1
        self.case6_step2 = index.case6_step2
        self.case6_step3 = index.case6_step3
        self.case7_step1 = index.case7_step1
        self.case7_step2 = index.case7_step2
        self.case7_step3 = index.case7_step3

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #3
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11
        self.case2_step1 = index.case2_step1
        self.case2_step11 = index.case2_step11
        self.case3_step1 = index.case3_step1
        self.case3_step11 = index.case3_step11
        self.mail_sender = index.mail_sender
        self.mail_receivers = index.mail_receivers
        self.mail_cc = index.mail_cc
        self.mail_bcc = index.mail_bcc
        self.mail_host = index.mail_host
        self.mail_port = index.mail_port
        self.mail_user = index.mail_user
        self.mail_pass = index.mail_pass
        self.pop3_email = index.pop3_email
        self.pop3_pwd = index.pop3_pwd
        self.pop3_proxy_port = index.pop3_proxy_port
        self.title = index.title
        self.file = index.file
        self.attach_path = index.attach_path
        self.context = index.context
        self.smtp_keyword = index.smtp_keyword
        self.pop3_keyword = index.pop3_keyword
        self.ftp_proxy_port = index.ftp_proxy_port
        self.ftp_user = index.ftp_user
        self.ftp_pass = index.ftp_pass
        self.case2_downremotePath = index.case2_downremotePath
        self.case2_downlocalPath = index.case2_downlocalPath

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #4
0
 def setup_class(self):
     # 获取参数
     fun.ssh_FrontDut.connect()
     fun.ssh_BackDut.connect()
     clr_env.iso_setup_class(dut='FrontDut')
     clr_env.iso_setup_class(dut='BackDut')
     self.case1_step1 = index.case1_step1
     self.case1_step11 = index.case1_step11
     self.case1_step2 = index.case1_step2
     self.delcheck = index.delcheck
     self.mail_sender = index.mail_sender
     self.mail_receivers = index.mail_receivers
     self.mail_cc = index.mail_cc
     self.mail_bcc = index.mail_bcc
     self.mail_host = index.mail_host
     self.mail_port = index.mail_port
     self.mail_user = index.mail_user
     self.mail_pass = index.mail_pass
     self.pop3_email = index.pop3_email
     self.pop3_pwd = index.pop3_pwd
     self.pop3_server_host = index.pop3_server_host
     self.pop3_server_port = index.pop3_server_port
     self.deny_mail = index.deny_mail
     self.deny_pwd = index.deny_pwd
     self.context = index.context
     self.deny_title = index.deny_title
     self.title = index.title
     self.deny_name_file = index.deny_name_file
     self.deny_extend_file = index.deny_extend_file
     self.file = index.file
     self.attach_file = index.attach_file
     self.attach_extend = index.attach_extend
     self.attach_path = index.attach_path
コード例 #5
0
    def teardown_class(self):
        # 回收环境
        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')

        fun.rbm_close()
        fun.ssh_close('FrontDut')
        fun.ssh_close('BackDut')
コード例 #6
0
    def teardown_class(self):
        # 回收环境
        clr_env.iso_teardown_met('http_redirect', base_path)
        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')

        fun.rbm_close()
        fun.ssh_close('FrontDut')
        fun.ssh_close('BackDut')
コード例 #7
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        self.case0_step1 = index.case0_step1
        self.case1_step1 = index.case1_step1
        self.case1_step2 = index.case1_step2

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #8
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def teardown_class(self):
        # 回收环境
        clr_env.iso_teardown_met('mail', base_path)
        clr_env.iso_teardown_met('ftp', base_path)
        clr_env.iso_teardown_met('tcp_http', base_path)
        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')

        fun.rbm_close()
        fun.ssh_close('FrontDut')
        fun.ssh_close('BackDut')
コード例 #9
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        fun.ssh_BG8010Client.connect()
        fun.ssh_BG8010Server.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #10
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11
        self.case2_step1 = index.case2_step1
        self.case2_step11 = index.case2_step11
        self.ftp_proxy_port = index.ftp_proxy_port
        self.ftp_user = index.ftp_user
        self.ftp_pass = index.ftp_pass

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #11
0
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11
        self.case1_step2 = index.case1_step2
        self.case2_step2 = index.case2_step2
        self.delcheck = index.delcheck
        self.data = index.data
        self.case1_data = index.case1_data
        self.case2_data1 = index.case2_data1
        self.case2_data2 = index.case2_data2

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #12
0
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        fun.ssh_BG8010Client.connect()
        fun.ssh_BG8010Server.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11
        self.case2_step1 = index.case2_step1
        self.case2_step11 = index.case2_step11
        self.case3_step1 = index.case3_step1
        self.case3_step11 = index.case3_step11
        self.downfile_url = index.downfile_url
        self.downlocalPath = index.downlocalPath

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #13
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
 def setup_class(self):
     # 获取参数
     fun.ssh_FrontDut.connect()
     fun.ssh_BackDut.connect()
     clr_env.iso_setup_class(dut='FrontDut')
     clr_env.iso_setup_class(dut='BackDut')
     self.case1_step1 = index.case1_step1
     self.case1_step11 = index.case1_step11
     self.case1_step2 = index.case1_step2
     self.case2_step2 = index.case2_step2
     self.delcheck = index.delcheck
     self.port = index.port
     self.username = index.username
     self.password = index.password
     self.case1_deny_user = index.case1_deny_user
     self.case2_deny_user = index.case2_deny_user
     self.case2_allow_user = index.case2_allow_user
コード例 #14
0
 def setup_class(self):
     # 获取参数
     fun.ssh_FrontDut.connect()
     fun.ssh_BackDut.connect()
     fun.ssh_BG8010Client.connect()
     fun.ssh_BG8010Server.connect()
     self.txt_file = index.txt_file
     self.case0_step1 = index.case0_step1
     self.case1_step1 = index.case1_step1
     self.case1_step2 = index.case1_step2
     self.case1_step3 = index.case1_step3
     self.case1_step4 = index.case1_step4
     self.case2_step1 = index.case2_step1
     self.case2_step2 = index.case2_step2
     self.case2_step3 = index.case2_step3
     clr_env.iso_setup_class(dut='FrontDut')
     clr_env.iso_setup_class(dut='BackDut')
コード例 #15
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11
        self.case2_step1 = index.case2_step1
        self.case2_step11 = index.case2_step11
        self.http_url = index.http_url
        self.downfile_url = index.downfile_url
        self.downlocalPath = index.downlocalPath
        self.upfile_url = index.upfile_url
        self.upfilename = index.upfilename
        self.uplocalPath = index.uplocalPath
        self.upMIME_type = index.upMIME_type
        self.up_url = index.up_url

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #16
0
 def setup_class(self):
     # 获取参数
     fun.ssh_FrontDut.connect()
     fun.ssh_BackDut.connect()
     clr_env.iso_setup_class(dut='FrontDut')
     clr_env.iso_setup_class(dut='BackDut')
     self.case1_step1 = index.case1_step1
     self.case1_step11 = index.case1_step11
     self.case1_step2 = index.case1_step2
     self.case1_step22 = index.case1_step22
     self.case2_step2 = index.case2_step2
     self.case2_step22 = index.case2_step22
     self.delcheck = index.delcheck
     self.port = index.port
     self.username = index.username
     self.password = index.password
     self.upremotePath = index.upremotePath
     self.uplocalPath = index.uplocalPath
     self.downremotePath = index.downremotePath
     self.downlocalPath = index.downlocalPath
コード例 #17
0
    def setup_class(self):
        # 获取参数
        fun.ssh_FrontDut.connect()
        fun.ssh_BackDut.connect()
        fun.ssh_BG8010Client.connect()
        fun.ssh_BG8010Server.connect()
        self.case1_step1 = index.case1_step1
        self.case1_step11 = index.case1_step11
        self.case2_step1 = index.case2_step1
        self.case2_step11 = index.case2_step11
        self.ftp_proxy_port = index.ftp_proxy_port
        self.ftp_user = index.ftp_user
        self.ftp_pass = index.ftp_pass
        self.case2_downremotePath = index.case2_downremotePath
        self.case2_downlocalPath = index.case2_downlocalPath
        self.upremotePath = index.upremotePath
        self.uplocalPath = index.uplocalPath

        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')
コード例 #18
0
	def setup_class(self):
		# 获取参数
		fun.ssh_FrontDut.connect()
		fun.ssh_BackDut.connect()
		clr_env.iso_setup_class(dut='FrontDut')
		clr_env.iso_setup_class(dut='BackDut')
		self.case1_step1 = index.case1_step1
		self.case1_step11 = index.case1_step11
		self.case1_step2 = index.case1_step2
		self.case2_step2 = index.case2_step2
		self.delcheck = index.delcheck
		self.mail_sender = index.mail_sender
		self.mail_receivers = index.mail_receivers
		self.mail_cc = index.mail_cc
		self.mail_bcc = index.mail_bcc
		self.mail_host = index.mail_host
		self.mail_port = index.mail_port
		self.mail_user = index.mail_user
		self.mail_pass = index.mail_pass
		self.pop3_email = index.pop3_email
		self.pop3_pwd = index.pop3_pwd
		self.pop3_server_host = index.pop3_server_host
		self.pop3_server_port = index.pop3_server_port
		self.context = index.context
		self.case1_title = index.case1_title
		self.case1_file1 = index.case1_file1
		self.case1_file2 = index.case1_file2
		self.case1_attach1 = index.case1_attach1
		self.case1_attach2 = index.case1_attach2
		self.case2_title = index.case2_title
		self.case2_file1 = index.case2_file1
		self.case2_file2 = index.case2_file2
		self.case2_file3 = index.case2_file3
		self.case2_attach1 = index.case2_attach1
		self.case2_attach2 = index.case2_attach2
		self.case2_attach3 = index.case2_attach3
コード例 #19
0
ファイル: function.py プロジェクト: wangqian0818/auto_test
 def teardown_method(self):
     clr_env.iso_setup_class(dut='FrontDut')
     clr_env.iso_setup_class(dut='BackDut')