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

Add tests #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

adrien-berchet
Copy link

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
Author

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

@@ -335,7 +335,7 @@ def convert_list(items, ids, parent, attr_type, item_func, cdata):

elif isinstance(item, iterable):
if not attr_type:
addline('<%s %s>%s</%s>' % (
addline('<%s%s>%s</%s>' % (
Copy link
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
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
Author

Glad to help :)

@adrien-berchet
Copy link
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.

None yet

2 participants