FIX: Formateo PEP8, Test OK

This commit is contained in:
2024-08-07 00:17:16 -05:00
parent d061077b30
commit fc75126ca0
5 changed files with 102 additions and 95 deletions

View File

@@ -2,16 +2,15 @@
# -*- coding: utf-8 -*-
# This file is part of facho. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from datetime import datetime
# 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'