def test_zfb_reconciliation_true(self):
     """支付宝对平测试用例集合"""
     CreatReconciliation().zfb_in_transit_true_data()  # 制造对平的在途数据
     zfb_path = Constants.RECONCILIATION.true_zfb_path  # 获取对账单数据
     path_name = FtpConnect().push_file_csv_on_ftp(zfb_path)
     PreconditionDowStatement.creat_download_info(Constants.CHANNEL.zfb,
                                                  path_name, '20200519',
                                                  'zfb')
     PreconditionDowStatement.statement_analyze_send()
     PreconditionDowStatement.recondition()
     expect = CreatReconciliation.info_assert_kwargs(trans_fee='87',
                                                     recon_amt=27413,
                                                     account_type='Y',
                                                     info_len=0,
                                                     info_list=[])
     actual = PreconditionReconciliation.info_assert_kwargs_actual()
     Handle.machaccnt_handle_assert(self, expect, actual)
 def test_dlb_reconciliation_false(self):
     """dlb对不平测试用例"""
     CreatReconciliation().dlb_in_transit_data()  # 制造记账退款在途数据
     zfb_path = Constants.RECONCILIATION.false_dlb_path  # 获取对账单数据
     path_name = FtpConnect().push_file_csv_on_ftp(zfb_path)
     PreconditionDowStatement.creat_download_info(Constants.CHANNEL.dlb,
                                                  path_name, '20200519',
                                                  'dlb')
     PreconditionDowStatement.statement_analyze_send()
     PreconditionDowStatement.recondition()
     expect = CreatReconciliation.info_assert_kwargs(
         trans_fee='280',
         recon_amt=85820,
         account_type='N',
         info_len=10,
         info_list=['2', '0', '0', '2', '1', '1', '1', '1', '1', '1'])
     actual = PreconditionReconciliation.info_assert_kwargs_actual()
     Handle.machaccnt_handle_assert(self, expect, actual)