summaryrefslogtreecommitdiff
path: root/src/lxml/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix tests in Py2.5 and Py3Stefan Behnel2013-04-282-4/+17
|
* add test for 'no_network' parser optionStefan Behnel2013-04-281-2/+66
|
* add tests for parsing from HTTP URLsStefan Behnel2013-04-282-0/+136
|
* added test for directory name that contains characters beyond latin-1Max Jakob2013-04-271-0/+16
|
* Merge pull request #107 from zzzeek/masterscoder2013-03-311-2/+27
|\ | | | | repair non-namespace-aware attribute mis-interpretation in ElementTreeContentHandler
| * - pass through non-NS aware attribute names as is; a ":" should just go toMike Bayer2013-03-301-13/+4
| | | | | | | | | | ValueError - use boolean test for attributes dict
| * - repair issue in sax.ElementTreeContentHandlerMike Bayer2013-03-291-2/+36
| | | | | | | | | | | | | | whereby attributes passed to startElement() would be mis-interpreted as containing a namespace attribute, leading to a TypeError, as well as where attributes with namespaces wouldn't be split up correctly when passed to startElement().
* | fix regex and add test for itStefan Behnel2013-03-291-0/+21
|/
* add some tests for proxy reuseStefan Behnel2013-03-171-1/+49
|
* disable doctest in Py2.5 that requires the 'with' statementStefan Behnel2013-02-101-1/+1
|
* add documentation for xmlfile() APIStefan Behnel2013-02-101-2/+4
|
* add copy.copy() support to _Attrib proxy, add safety checks to _Attrib methodsStefan Behnel2013-01-261-3/+36
|
* merge lxml-3.0 branch into masterStefan Behnel2013-01-241-0/+12
|\
| * add test for using different nsmaps in el.find*()lxml-3.0Stefan Behnel2013-01-221-0/+12
| | | | | | | | | | --HG-- extra : transplant_source : %7Dd%8Fs%A5%CEp%F3%9Eco%15%ACDr%21%C8%F0%2B%B0
* | make user exception handling in target parser safer and more correctStefan Behnel2013-01-241-0/+117
| |
* | add test for using different nsmaps in el.find*()Stefan Behnel2013-01-221-0/+12
| |
* | prevent namespaced tags from being matched by the child lookup in ↵Stefan Behnel2012-12-181-0/+9
| | | | | | | | lxml.objectify when neither parent nor requested tag are namespaced
* | simplify PyPy/Py3 specific behaviour in testsStefan Behnel2012-11-301-0/+5
| |
* | silence deprecation warning in ElementTree compatibility testsStefan Behnel2012-11-301-0/+9
| |
* | fix EXSLT XPath test for libxslt 1.1.27+Stefan Behnel2012-11-301-4/+5
| |
* | replace usages of assertNotEquals() by assertNotEqual() to fix Py3 ↵Stefan Behnel2012-11-294-22/+22
| | | | | | | | deprecation warning
* | replace test usages of assert_() by assertTrue() to fix Py3 deprecation warningStefan Behnel2012-11-2915-283/+283
| |
* | replace usages of assertEquals() by assertEqual() to fix Py3 deprecation warningStefan Behnel2012-11-2918-1875/+1875
| |
* | Incremental serializer: fix default namespace declarations.Simon Sapin2012-11-231-0/+13
| |
* | minor cleanupStefan Behnel2012-11-221-0/+2
| |
* | merge namespace handling fixes by Simon Sapin into incremental serialiserStefan Behnel2012-11-221-0/+26
|\ \
| * | Incremental serializer: bug fix: add prefixes to the current element,Simon Sapin2012-11-221-0/+7
| | | | | | | | | | | | ... not an ancestor.
| * | Incremental serializer: fix prefixesSimon Sapin2012-11-221-0/+19
| | | | | | | | | | | | | | | * Pick a prefix for namespaces without one * Write prefix declarations with attributes.
* | | Incremental serializer: fix attributesSimon Sapin2012-11-221-0/+21
|/ / | | | | | | | | | | * Accept Unicode strings for attribute values * Do not erase the (element’s) 'tag' parameter when handling attributes * Add some tests
* | fix test in Py2.5Stefan Behnel2012-11-201-1/+1
| |
* | enable additional test suiteStefan Behnel2012-11-201-0/+1
| |
* | add tests to check that any file-like object with a .write() method works as ↵Stefan Behnel2012-11-201-1/+19
| | | | | | | | target for xmlfile()
* | additional testsStefan Behnel2012-11-201-9/+34
| |
* | fix new xmlfile() test in Py2.5Stefan Behnel2012-11-201-0/+2
| |
* | fix testsStefan Behnel2012-11-201-8/+8
| |
* | fix comment, minor cleanupsStefan Behnel2012-11-201-2/+2
| |
* | add new API for incremental XML file generationStefan Behnel2012-11-201-0/+121
| |
* | py.test adaptation in CSS testsStefan Behnel2012-11-181-1/+8
|/
* work around Element proxy cleanup problems in PyPyStefan Behnel2012-10-141-0/+13
|
* disable iterparse DTD loading test for libxml2 2.9.0Stefan Behnel2012-09-282-1/+13
|
* regression test that normally will segfault in the absence of the +1 memory ↵Roger Hu2012-08-141-0/+9
| | | | allocation bug in inclusive ns prefixes
* fix test after mergeStefan Behnel2012-08-131-1/+1
|
* merged tag wildcard match enhancements by Simon SapinStefan Behnel2012-08-121-0/+32
|\
| * Add support for tag="{*}name" in _Element.iter() and friends.Simon Sapin2012-08-111-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Such methods now have all combinations of wilcards to implement CSS selectors NS|E, |E, *|E, NS|*, |*, and *|* Internally the meaning of the qname.href struct field was changed: * The NULL pointer is a wildcard, matches any namespace * The empty Python byte-string matches elements without a namespace * Other Python byte-strings are namespace URIs, matching elements in the same namespace. qname.c_name is uchanged (NULL for a wildcard, a C string for a given local name.)
* | additional test case for getiterator('*')Stefan Behnel2012-08-121-0/+3
| |
* | merged support for selecting inclusive prefixes for C14N serialisationStefan Behnel2012-08-121-0/+14
|\ \ | |/ |/|
| * enable support for InclusiveNamespaces PrefixList in exclusive C14N spec -- ↵Roger Hu2012-06-221-0/+14
| | | | | | | | see http://www.w3.org/TR/xml-exc-c14n/
* | raise ElementPath syntax error on empty path expressionStefan Behnel2012-08-011-0/+7
| |
* | merged 2.3 release branch back into masterStefan Behnel2012-07-311-1/+1
|\ \
| * | fix testlxml-2.3.5Stefan Behnel2012-07-311-1/+1
| | |