ofx-processor/tests/test_ofx_base_line.py
2020-09-01 19:27:24 +02:00

10 lines
264 B
Python

from ofx_processor.utils.base_ofx import OfxBaseLine
from tests.utils import OfxTransaction
def test_name():
name = "VIR INST"
transaction = OfxTransaction(name=name)
result_name = OfxBaseLine(transaction).get_payee()
assert result_name == name