test_feedbackOrderController_settlementlist.py 994 Bytes
import unittest
import urllib3
from commons.MySession import my,sy1
from commons.api.feedbackOrderController_settlementlist import feedbackOrderController_settlementlist
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
import commons.ConfigDB as db
focsl = feedbackOrderController_settlementlist()

class test_feedbackOrderController_settlementlist(unittest.TestCase):
    "已结账明细查询"
    @classmethod
    def setUpClass(cls):
        pass
    def setUp(self):
        pass

    def test_feedbackOrderController_settlementlist_01(self):
        body = focsl.body.replace("2021-08-04 00:00:00", "2021-08-05 00:00:00")\
            .replace("2021-08-05 23:59:59", "2021-08-06 23:59:59")\
            .replace("feedbackCustomerId=25", "feedbackCustomerId=26")

        re = sy1.post(url=focsl.url, data=body, headers=focsl.header)
        # print(re.json())

    @classmethod
    def tearDownClass(cls):
        pass


if __name__ == '__main__':
    unittest.main()