You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes in unit tests one have to check the presence of a string in a HTML output. Sometimes pyquery is pertinent for that, but not always. When a test is looking for a string in HTML and it fails, it would be nice to display a formatted HTML so developers can easily see what is wrong.
The beautifoulsoup prettify method does this. I suggest to prettify the output, by default or as an option.
What do you think?
The text was updated successfully, but these errors were encountered:
Sometimes in unit tests one have to check the presence of a string in a HTML output. Sometimes pyquery is pertinent for that, but not always. When a test is looking for a string in HTML and it fails, it would be nice to display a formatted HTML so developers can easily see what is wrong.
The beautifoulsoup
prettify
method does this. I suggest to prettify the output, by default or as an option.What do you think?
The text was updated successfully, but these errors were encountered: