def setUpClass(cls): basepath = os.path.split(os.path.dirname(__file__))[1] cls.basename = os.path.splitext(os.path.basename(__file__))[0] cls.basename = basepath + "-" + cls.basename config = Website.add_key(Website.parameter, Website.tabs) cls.p_tab = CommoditiesJude(config, cls.basename, OfficialWebsite) if "\\" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('\\', 2)[-1] elif "/" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('/', 2)[-1] pass
def setUpClass(cls): basepath = os.path.split(os.path.dirname(__file__))[1] cls.basename = os.path.splitext(os.path.basename(__file__))[0] cls.basename = basepath + "-" + cls.basename config = Website.add_key(Website.journalism, Website.page) cls.p_page = SurfaceJude(config, cls.basename, OfficialWebsite) if "\\" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('\\', 2)[-1] elif "/" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('/', 2)[-1] pass
def setUpClass(cls): basepath = os.path.split(os.path.dirname(__file__))[1] cls.basename = os.path.splitext(os.path.basename(__file__))[0] cls.basename = basepath + "-" + cls.basename config = Website.add_key(Website.trademark, Website.add) cls.j_operate = InviteOperateJude(config, cls.basename, OfficialWebsite) if "\\" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('\\', 2)[-1] elif "/" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('/', 2)[-1] pass
def setUpClass(cls): basepath = os.path.split(os.path.dirname(__file__))[1] cls.basename = os.path.splitext(os.path.basename(__file__))[0] cls.basename = basepath + "-" + cls.basename config = Website.add_key(Website.journalism, Website.select) cls.i_screen = SecKillLableVerify(config, cls.basename, OfficialWebsite) if "\\" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('\\', 2)[-1] elif "/" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('/', 2)[-1] pass
def setUpClass(cls): basepath = os.path.split(os.path.dirname(__file__))[1] cls.basename = os.path.splitext(os.path.basename(__file__))[0] cls.basename = basepath + "-" + cls.basename config = Website.add_key(Website.parameter, Website.page) cls.p_page = SurfaceJude(config, cls.basename, OfficialWebsite) cls.INVITE_DESIGNATED_TABS = cls.p_page.bi.yaml_tabs() if "\\" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('\\', 2)[-1] elif "/" in os.path.dirname(__file__): cls.method_path = os.path.dirname(__file__).split('/', 2)[-1] pass