Fix: Se descomenta test AttachedDocument

This commit is contained in:
2024-12-27 00:10:03 -05:00
parent 8cc6146be2
commit e237d1b45f
2 changed files with 16 additions and 12 deletions

View File

@@ -4,13 +4,13 @@
# this repository contains the full copyright notices and license terms.
# from datetime import datetime
# import pytest
# from facho.fe import form_xml
import pytest
from facho.fe import form_xml
# import helpers
import helpers
# def test_xml_with_required_elements():
# doc = form_xml.AttachedDocument(id='123')
# xml = doc.toFachoXML()
# assert xml.get_element_text('/atd:AttachedDocument/cbc:ID') == '123'
def test_xml_with_required_elements():
doc = form_xml.AttachedDocument(id='123')
xml = doc.toFachoXML()
assert xml.get_element_text('/atd:AttachedDocument/cbc:ID') == '123'