Esempio n. 1
0
class TestTrade:
    def setup(self):
        self.xueqiu = XueqiuPage()
        # self.trade = self.xueqiu.goto_trade()
        # self.trade.goto_hs()

    def teardown(self):
        self.xueqiu.quit()

    def test_a_open(self):
        # self.trade.a_open("18911773181", "1234")
        self.xueqiu.goto_trade().goto_hs()
Esempio n. 2
0
class TestTrade:
    def setup_class(self):
        self.xueqiu = XueqiuPage()
        self.trade = self.xueqiu.goto_trade()
        self.trade.goto_hs()

    def test_a_open(self):

        self.trade.a_open("15901273160", '1234')
Esempio n. 3
0
class TestTrade:
    def setup_class(self):
        self.xueqiu=XueqiuPage()
        self.trade = self.xueqiu.goto_trade()
        self.trade.goto_danjuan()
    def test_a_open(self):
        self.trade.a_open("15600534760", '1234')


    def test_danjuan_open(self):
        self.trade.danjuan_open()