ofx-processor/tests/test_ofx_base_line.py

11 lines
264 B
Python
Raw Normal View History

2020-09-01 19:27:24 +02:00
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