class TestWX: def setup(self): self.index = IndexPage() def test_register(self): assert self.index.goto_login().goto_register().register() assert self.index.goto_register().register()
class TestWX: def setup(self): self.index = IndexPage() def test_register(self): # 进入注册界面 self.index.go_register()
def setup(self): self.index = IndexPage()
class TestWX(): def setup(self): self.index = IndexPage() def test_register(self): self.index.goto_register().register(username, uniq_id, phone)