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

Ensure stable ordering of attributes for tests #413

Closed
wants to merge 2 commits into from

Conversation

yanokwa
Copy link
Contributor

@yanokwa yanokwa commented Jan 6, 2020

In 5c7c5a0, we use the same code from #412 to produce what I call "testable" XML (XML with a stable ordering). I couldn't find an easy way to de-duplicate the code without invasive changes. A more experienced Pythonista might know better.

9bec7ff, I narrowed the test to not depend on attribute order.

@yanokwa yanokwa force-pushed the fix-build branch 3 times, most recently from 40c022e to 61bbf0a Compare January 6, 2020 23:53
@yanokwa yanokwa changed the title Narrowly test the url and avoid ordering issues Ensure stable ordering of attributes for tests Jan 6, 2020
@yanokwa yanokwa force-pushed the fix-build branch 2 times, most recently from cc9e490 to b875bc6 Compare January 7, 2020 00:24
@yanokwa yanokwa marked this pull request as ready for review January 7, 2020 16:02
@yanokwa yanokwa force-pushed the fix-build branch 3 times, most recently from 448a2c3 to 9bec7ff Compare January 7, 2020 21:08
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