Skip to content

Add tests#100

Open
adrien-berchet wants to merge 1 commit intoquandyfactory:masterfrom
adrien-berchet:add_tests
Open

Add tests#100
adrien-berchet wants to merge 1 commit intoquandyfactory:masterfrom
adrien-berchet:add_tests

Conversation

@adrien-berchet
Copy link
Copy Markdown

I suggest we add some automated tests in order to avoid unexpected breaking changes, as the one reported in #98 .

Depends on #99

@adrien-berchet adrien-berchet marked this pull request as draft December 20, 2022 12:53
@adrien-berchet adrien-berchet marked this pull request as ready for review December 20, 2022 12:54
@adrien-berchet
Copy link
Copy Markdown
Author

This PR also removes a useless (as far as I know) space in items.

Comment thread dicttoxml.py
elif isinstance(item, iterable):
if not attr_type:
addline('<%s %s>%s</%s>' % (
addline('<%s%s>%s</%s>' % (
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This space is already generated by make_attrstring(attr)

@quandyfactory
Copy link
Copy Markdown
Owner

This proposal is excellent and long overdue, and thank you for taking the time to prepare this pull request. I will review it at my earliest opportunity.

@adrien-berchet
Copy link
Copy Markdown
Author

Glad to help :)

@adrien-berchet
Copy link
Copy Markdown
Author

I just realized that this PR is still pending so let's revive it :-)

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.

2 participants