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

[#1805] Fix xml error #810

Merged
merged 1 commit into from
Oct 13, 2023
Merged

[#1805] Fix xml error #810

merged 1 commit into from
Oct 13, 2023

Conversation

pi-sigma
Copy link
Contributor

Taiga #1805

The bug is caused by incorrect use of lxml.fromstring, which returns an lxml element instead of the document tree, in contrast to lxml.parse which was used to read in the content of the file object during testing.

@codecov-commenter
Copy link

codecov-commenter commented Oct 13, 2023

Codecov Report

Merging #810 (60821e4) into develop (5a60c3e) will decrease coverage by 0.02%.
The diff coverage is 16.66%.

@@             Coverage Diff             @@
##           develop     #810      +/-   ##
===========================================
- Coverage    93.05%   93.04%   -0.02%     
===========================================
  Files          742      742              
  Lines        25821    25825       +4     
===========================================
+ Hits         24028    24029       +1     
- Misses        1793     1796       +3     
Files Coverage Δ
src/open_inwoner/ssd/xml.py 72.22% <16.66%> (-3.78%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pi-sigma pi-sigma marked this pull request as ready for review October 13, 2023 10:28
@alextreme alextreme merged commit 037b68f into develop Oct 13, 2023
14 checks passed
@alextreme alextreme deleted the fix/1805-xml-error branch October 13, 2023 11:42
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

Successfully merging this pull request may close these issues.

3 participants