Ejemplo n.º 1
0
 def setUp(cls):
     """启动应用"""
     cls.result = unittest.TestResult()
     cls.base_assert = ExpectingTest(cls, cls.result)
     cls.login = LoginPage()
     cls.home = HomePage()
     cls.set = Setting()
     BasePage().set_assert(cls.base_assert)
Ejemplo n.º 2
0
 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.setting = Setting()
     cls.privacy = Privacy()
     BasePage().set_assert(cls.base_assert)
     cls.login_page.app_status()