summaryrefslogtreecommitdiff
path: root/bs4/tests
AgeCommit message (Collapse)Author
2012-04-16Unicode, Dammit now has an option to turn MS smart quotes into ASCII characters.Leonard Richardson
2012-04-16Attribute values are now run through the provided output formatter. ↵Leonard Richardson
Previously they were always run through the 'minimal' formatter. [bug=980237]
2012-04-16 Fixed a bug with the string setter that moved a string around theLeonard Richardson
tree instead of copying it. [bug=983050]
2012-04-11Added renderContents back.Leonard Richardson
2012-03-15Fixed a bug where specifying 'text' while searching for a tag only worked if ↵Leonard Richardson
'text' specified an exact string match. [bug=955942]
2012-03-02Brought the soupselect port up to date.Leonard Richardson
2012-03-02Fixed a bug that caused calling a tag to sometimes call find_all() with the ↵Leonard Richardson
wrong arguments. [bug=944426]
2012-03-01For backwards compatibility, brought back the BeautifulStoneSoup class as a ↵Leonard Richardson
deprecated wrapper around BeautifulSoup.
2012-03-01Test that CSS selectors work within the tree as well as at the top level.Leonard Richardson
2012-03-01Got tests to pass on Python 2 and Python 3.Leonard Richardson
2012-03-01Initial port of code and tests.Leonard Richardson
2012-02-27Make prettify() return Unicode by default, so it will look nice when passed ↵Leonard Richardson
into print() under Python 3.
2012-02-26Fixed DOCTYPE handling.Leonard Richardson
2012-02-24Fixed a test failure that occured on Python 3.x when chardet was installed.Leonard Richardson
2012-02-24Warn when SoupStrainer is used with the html5lib tree builder.Leonard Richardson
2012-02-23Test that HTML5 parsers add the appropriate namespace to the tags they parse.Leonard Richardson
2012-02-23Fixed handling of the closing of namespaced tags.Leonard Richardson
2012-02-23Bumped version number.Leonard Richardson
2012-02-23Namespaced attributes are equal if they correspond to the same string.Leonard Richardson
2012-02-23Merge from trunk and added tests.Leonard Richardson
2012-02-22Minor cleanup.Leonard Richardson
2012-02-22Removed tests that merely illustrated parser behavior, behavior that ↵Leonard Richardson
wouldn't break Beautiful Soup if it changed.
2012-02-21Removed unused test data.Leonard Richardson
2012-02-20It's now possible to copy a BeautifulSoup object created with the ↵Leonard Richardson
html.parser treebuilder.
2012-02-20Temporarily skip the deepcopy test when lxml is not installed.Leonard Richardson
2012-02-20lxml tests are once again run and pass when lxml is installed.Leonard Richardson
2012-02-20Tests now pass if neither lxml nor html5lib is installed.Leonard Richardson
2012-02-20Changd the class structure so that the default parser test class uses ↵Leonard Richardson
html.parser.
2012-02-20Added code from 2.7's standard library so that the tests will run on Python 2.6.Leonard Richardson
2012-02-17Doctests don't work because the package name is wrong and README.txt isn't ↵Leonard Richardson
in any package, so comment them out for now.
2012-02-16By default, turn unrecognized characters into numeric XML entity refs.Leonard Richardson
2012-02-16Issue a warning if characters were replaced with REPLACEMENT CHARACTER ↵Leonard Richardson
during Unicode conversion.
2012-02-15Added a kind of hacky way to interpret the restriction class='foo bar'. Stop ↵Leonard Richardson
generating a space before the slash that closes an empty-element tag.
2012-02-15The value of multi-valued attributes like class are always turned into a ↵Leonard Richardson
list, even if there's only one value.
2012-02-15Some cdata-list attributes are only cdata lists for certain tags.Leonard Richardson
2012-02-15Better defined behavior when the user wants to search for a combination of ↵Leonard Richardson
text and tag-specific arguments. [bug=695312]
2012-02-15Tested and cleaned up html5lib insertBefore.Leonard Richardson
2012-02-15Tested improvements to html5lib treebuilder.Leonard Richardson
2012-02-15Tested that extract() distinguishes between idientical strings.Leonard Richardson
2012-02-09As a last-ditch attempt to turn data into Unicode, use errors=replace ↵Leonard Richardson
instead of errors=strict.
2012-02-09Unicode, Dammit now detects the encoding in HTML 5-style <meta> tags like ↵Leonard Richardson
<meta charset="utf-8" />. [bug=837268]
2012-02-09Fixed a bug that wrecked the tree if you replaced an element with an empty ↵Leonard Richardson
string. [bug=728697]
2012-02-08Rationalized the treatment of multi-valued HTML attributes such as 'class'Leonard Richardson
2012-02-08Switched around the implementation of insert_before and insert_after to ↵Leonard Richardson
match jQuery.
2012-02-08Renamed move_* back to insert_*Leonard Richardson
2012-02-07Newly created tags use the same empty-element rules as the builder used to ↵Leonard Richardson
originally create the soup.
2012-02-07BeautifulSoup objects don't support move_before() or move_after.Leonard Richardson
2012-02-07Renamed insert_before to move_before, to avoid confusion with the way ↵Leonard Richardson
insert() works.
2012-02-07Added and tested insert_before and insert_after.Leonard Richardson
2012-02-07Made the formatter something you pass in rather than a variable you set.Leonard Richardson