def setUpClass(cls):
     Log.info('TestQueryInStatusBB START BB端')
     cls.node = 2
     cls.dh = DataHandle()
     # 香港端
     cls.L = Login(node=cls.node)
     cls.admin_cookies = cls.L.get_cookie()
     cls.ui = UserInfo(node=cls.node)
 def setUpClass(cls):
     Log.info('TestDownloadLogFileBB START BB端')
     cls.node = 2
     cls.dh = DataHandle()
     # 布里端
     cls.L = Login(node=cls.node)
     cls.admin_cookies = cls.L.get_cookie()
     cls.df = DownloadFile(node=cls.node)
     cls.ui = UserInfo(node=cls.node)
     # auto登录cookie
     cls.AUTO_cookies = cls.ui.modify_cookies(data_id=3001, node=cls.node)
Beispiel #3
0
 def setUpClass(cls):
     Log.info('TestUpdateUserHK START HK端')
     cls.node = 1
     cls.dh = DataHandle()
     # 香港端
     cls.L = Login(node=cls.node)
     cls.admin_cookies = cls.L.get_cookie()
     cls.ui = UserInfo(node=cls.node)
     # cls.url = cls.lc.get_domain() + cls.dh.get_path(1)
     # auto登录cookie
     cls.AUTO_cookies = cls.ui.modify_cookies(data_id=3001, node=cls.node)
Beispiel #4
0
 def setUpClass(cls):
     Log.info('TestUserInfoBB START BB端')
     # cls.lc = LoadConfig()
     # cls.domain = cls.lc.get_domain()
     cls.node = 2
     cls.dh = DataHandle()
     # 布里端
     cls.L = Login(node=cls.node)
     cls.admin_cookies = cls.L.get_cookie()
     cls.ui = UserInfo(node=cls.node)
     # cls.url = cls.lc.get_domain() + cls.dh.get_path(1)
     # auto登录cookie
     cls.modify_cookie = cls.ui.modify_cookies(data_id=3001, node=cls.node)