def setUp(cls):
     """启动应用"""
     cls.login_page = LoginPage()
     cls.home_page = HomePage()
     cls.user_center = UserCenterPage()
     cls.user_info = UserInfoPage()
     cls.screen_shot = ScreenShot()
 def setUp(cls):
     """启动应用"""
     cls.login = TloginPage()
     cls.home = ThomePage()
     cls.user = TuserCenterPage()
     cls.user_info = UserInfoPage()
     cls.screen_shot = ScreenShot()
 def setUp(cls):
     """启动应用"""
     cls.login = TloginPage()
     cls.home = ThomePage()
     cls.user = TuserCenterPage()
     cls.user_info = UserInfoPage()
     cls.change_image = ChangeImage()
     cls.screen_shot = ScreenShot()
     cls.base_page = BasePage()
 def setUp(cls):
     """启动应用"""
     cls.result = unittest.TestResult()
     cls.base_assert = ExpectingTest(cls, cls.result)
     cls.login_page = LoginPage()
     cls.home = HomePage()
     cls.user_center = UserCenterPage()
     cls.user_info = UserInfoPage()
     cls.screen_shot = ScreenShot()
     BasePage().set_assert(cls.base_assert)
     cls.login_page.app_status()