Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionar teste para AffiliationsListValidation.validate_affiliation_count_article_vs_sub_article #716

Open
Tracked by #715
robertatakenaka opened this issue Oct 7, 2024 · 0 comments
Assignees

Comments

@robertatakenaka
Copy link
Member

robertatakenaka commented Oct 7, 2024

  • o que acontece se há mais de 1 sub-article do tipo translation?
  • tests/samples/1518-8787-rsp-56-79.xml: No such file or directory
ERROR: test_validate_affiliation_count_article_vs_sub_article (tests.sps.validation.test_aff.AffiliationValidationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/roberta.takenaka/github.com/scieloorg/packtools/packtools/tests/sps/validation/test_aff.py", line 648, in test_validate_affiliation_count_article_vs_sub_article
    xml_tree = xml_utils.get_xml_tree("tests/samples/1518-8787-rsp-56-79.xml")
  File "/Users/roberta.takenaka/github.com/scieloorg/packtools/packtools/packtools/sps/utils/xml_utils.py", line 121, in get_xml_tree
    raise exceptions.SPSLoadToXMLError(str(exc)) from None
packtools.sps.exceptions.SPSLoadToXMLError: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1)
@robertatakenaka robertatakenaka changed the title URGENTE (bug) Adicionar teste para AffiliationsListValidation.validate_affiliation_count_article_vs_sub_article - o que acontece se há mais de 1 sub-article do tipo translation? Adicionar teste para AffiliationsListValidation.validate_affiliation_count_article_vs_sub_article Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants