# -*- coding: utf-8 -*-

import allure
import logging

from zhyy.library.BusinessKw.SZPurchase.index import PurchaseIndex


@allure.feature('深圳采购工作台首页')
class Test_purchase_index(object):
    # config = ReadConfig.ReadConfig()  # 调用读取配置文件的方法类
    test_case = PurchaseIndex()

    def teardown_method(self):
        logging.info("-----------------------------End-------------------------------")

    @allure.story("验证采购工作台待办任务与在办任务功能")
    def test_check_todo(self):
        get_purchase_data = self.test_case.kw_zhyy_get_todo(note="采购工作台首页待办任务PO与在办任务PO", user='purchase')
