summaryrefslogtreecommitdiff
path: root/src/lxml/tests
Commit message (Collapse)AuthorAgeFilesLines
* simplify interface for passing multiple tag selectors into element iteration ↵Stefan Behnel2012-04-241-4/+31
| | | | methods
* avoid dependency on external cssselect package in the test suiteStefan Behnel2012-04-211-1/+8
|
* Merge pull request #46 from SimonSapin/external-cssselectscoder2012-04-215-490/+40
|\ | | | | External cssselect
| * Fix the test suite for _Element.cssselect removal.Simon Sapin2012-04-201-18/+10
| |
| * Shrink the css testsSimon Sapin2012-04-204-282/+48
| | | | | | | | | | No need to duplicate the tests that are now in cssselect. Now test_css.py only tests what is specific to lxml.
| * Update for cssselect 0.3Simon Sapin2012-04-171-3/+1
| |
| * Use the external cssselectSimon Sapin2012-04-163-214/+8
| | | | | | | | Includes ugly hack to support Python 2.4
* | merged 2.3 branch into masterStefan Behnel2012-04-201-0/+96
|\ \ | |/ |/|
| * fix crash in sax parser when finding invalid DOCTYPEStefan Behnel2012-04-201-0/+96
| |
| * test for latest nsmap fixStefan Behnel2012-02-181-0/+5
| | | | | | | | | | --HG-- extra : transplant_source : L%05%C9%95J%C9%B6%18g%0BX%B6o%E54d%20%5E%9F%18
| * fix ticket 903782: initialise document dict for HTML parsing in iterparse to ↵Stefan Behnel2011-12-141-0/+16
| | | | | | | | | | | | | | prevent segfaults on cleanup --HG-- extra : transplant_source : G%BE%D7Pe%05%03%B8C%24%10%25I%7D%834%5B%E2%C9%02
| * "E :pseudo" should parse the same as "E *:pseudo", not "E:pseudo"Simon Sapin2011-12-122-0/+10
| | | | | | | | | | --HG-- extra : transplant_source : o%BCw%D6h%DB%05%25%20N%BDKl%EA%BA%8E%7F%D9%7C%D2
* | merged DTD attributes branchStefan Behnel2012-04-052-0/+53
|\ \ | | | | | | | | | | | | --HG-- rename : src/lxml/tree.pxd => src/lxml/include/tree.pxd
| * | Rename various DTD attributes for PEP 8 compatibility and consistency.Walter Doerwald2012-02-161-4/+4
| | | | | | | | | | | | | | | | | | externalID -> external_id systemID -> system_url defaultValue -> default_value
| * | Update comments.Walter Doerwald2012-01-291-2/+3
| | |
| * | Add tests for the DTD attributes name, systemID and externalID.Walter Doerwald2012-01-291-0/+24
| | |
| * | Add tests for DTD attributes.Walter Doerwald2012-01-282-0/+28
| |/
* | Ignore whitespace after a CSS group separator.Laurence Rowe2012-04-051-3/+3
| |
* | Fix failing test.Jeff Dairiki2012-03-311-1/+6
| | | | | | | | | | | | | | (My version of ElementTree (python 2.6.6) has no ParseError.) --HG-- extra : transplant_source : WG1%C1_Qq%24i%3B%C7%1FZ%AC%1B%F2%A9%04%87c
* | e.args is intended to be a tuple with a single item.Laurence Rowe2012-03-311-1/+1
| |
* | Optimize css attribute selectors to test for existence of attribute before ↵Laurence Rowe2012-03-311-5/+5
| | | | | | | | string operations.
* | Optimize css class selector to test for existence of class attribute before ↵Laurence Rowe2012-03-311-3/+3
| | | | | | | | string normalization.
* | test fixesStefan Behnel2012-03-311-3/+2
| |
* | disable cElementTree tests in Py3.3 where cET==ETStefan Behnel2012-03-311-1/+1
| |
* | Py3.3 fix for cElementTree compatibility testStefan Behnel2012-03-311-1/+1
| |
* | simplify portability imports to make them more portable themselvesStefan Behnel2012-02-204-10/+10
| |
* | test for latest nsmap fixStefan Behnel2012-02-181-0/+5
| | | | | | | | | | --HG-- extra : rebase_source : 9b80192c1ed232ec7f01bd4b4e4b2563e6d1e922
* | Merge pull request #31 from jyasskin/elem_maker_base_typesscoder2012-02-191-0/+38
|\ \ | | | | | | Teach the ElementMaker to add objects of types derived from types it knows how to handle.
| * | Avoid using xpath in the ElementMaker test.Jeffrey Yasskin2012-02-181-3/+3
| | |
| * | Move the mro loop into the 't is None' if, behind the iselement check,Jeffrey Yasskin2012-02-161-9/+8
| | | | | | | | | | | | and fix up some py2/3 compatibility in the test.
| * | Teach the ElementMaker to add objects of types derived from types itJeffrey Yasskin2012-02-151-0/+39
| | | | | | | | | | | | | | | knows how to handle. This allows it to handle the result of string xpath expressions, which inherit from bytes.
* | | merged 'css :root' branchStefan Behnel2012-02-152-4/+10
|\ \ \ | |/ / |/| |
| * | Add support for the :root pseudo-class in cssselect.Simon Sapin2011-12-142-4/+10
| | |
* | | make sure the E-Factory feature of the ElementBase constructor can always ↵Stefan Behnel2012-02-101-2/+12
| | | | | | | | | | | | safely set .text/.tail, also when it's immutable
* | | make unit test base class 'private'Stefan Behnel2012-01-271-3/+3
| | |
* | | initial fix for running the test suite with py.testStefan Behnel2012-01-272-1/+14
| | |
* | | minor test fixStefan Behnel2012-01-271-1/+1
| | |
* | | implement support for element.attrib.update(el.attrib)Stefan Behnel2012-01-271-0/+19
| | |
* | | make unit test base classes 'private'Stefan Behnel2012-01-272-7/+7
| | |
* | | extended threading test caseStefan Behnel2011-12-271-4/+8
| | |
* | | extended tests for new iterparse() tag selectionStefan Behnel2011-12-261-4/+29
| | |
* | | partial rewrite of element iterators to support multiple tags for the tag ↵Stefan Behnel2011-12-191-0/+121
| | | | | | | | | | | | selector argument
* | | fix ticket 903782: initialise document dict for HTML parsing in iterparse to ↵Stefan Behnel2011-12-141-0/+16
|/ / | | | | | | prevent segfaults on cleanup
* | "E :pseudo" should parse the same as "E *:pseudo", not "E:pseudo"Simon Sapin2011-12-122-0/+10
|/
* More tests and change log for the parsing bug in cssselect.Simon Sapin2011-11-051-3/+9
|
* Ignore optional whitespace after combinators when parsing CSS selectors.Simon Sapin2011-11-042-0/+6
| | | | | For example, "div> .foo" was incorrectly parsed the same as "div>* .foo" while it should be "div>.foo"
* another fix for the 'descendant' problem in cssselect to undo a serious ↵Stefan Behnel2011-11-031-3/+3
| | | | | | | performance regression in 2.3.1 --HG-- extra : rebase_source : 2c4c89423870a16cc9aedc19532032d2a10bae5e
* support pi.get() and pi.attrib by parsing the text context for pseudo-attributesStefan Behnel2011-09-071-0/+22
|
* Py3.3 test fixStefan Behnel2011-08-121-2/+2
|
* sax.py: use the same tag name building mechanism for endElementNS() as for ↵Stefan Behnel2011-07-011-0/+24
| | | | startElementNS()