예제 #1
0
    def test_code_journal(self, expense_payment, config_request):
        config_request.config['code_journal_waiver_ndf'] = 'JOURNAL_ABANDON'

        sage_expense_payment_waiver = SageExpensePaymentWaiver(
            None, config_request)
        sage_expense_payment_waiver.set_payment(expense_payment)
        assert sage_expense_payment_waiver.code_journal == "JOURNAL_ABANDON"
예제 #2
0
def sage_expense_payment_waiver(config_request, expense_payment):
    factory = SageExpensePaymentWaiver(None, config_request)
    factory.set_payment(expense_payment)
    return factory
예제 #3
0
def sage_expense_payment_waiver(config_request, expense_payment):
    factory = SageExpensePaymentWaiver(None, config_request)
    factory.set_payment(expense_payment)
    return factory
예제 #4
0
    def test_code_journal(self, expense_payment, config_request):
        config_request.config['code_journal_waiver_ndf'] = 'JOURNAL_ABANDON'

        sage_expense_payment_waiver = SageExpensePaymentWaiver(None, config_request)
        sage_expense_payment_waiver.set_payment(expense_payment)
        assert sage_expense_payment_waiver.code_journal == "JOURNAL_ABANDON"