summaryrefslogtreecommitdiff
path: root/src/lxml/tests/test_objectify.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [svn r4491] support '{}tag' in lxml.objectify child search as meaning ↵scoder2010-11-171-1/+6
| | | | | | | explicitly the empty namespace --HG-- branch : trunk
* [svn r4425] Fixed DataElement() to use PyType.stringify, with test.jholg2010-06-251-0/+15
| | | | | --HG-- branch : trunk
* [svn r4389] r5544@lenny: sbehnel | 2010-03-31 12:52:16 +0200scoder2010-03-311-0/+16
| | | | | | | make ObjectifiedDataElements hashable --HG-- branch : trunk
* [svn r4343] Bug #509504: Fixed objectify pickle support, adding support forjholg2010-02-031-0/+37
| | | | | | | ObjectifiedElement subclasses. --HG-- branch : trunk
* [svn r4336] r5450@lenny: sbehnel | 2010-01-30 21:52:34 +0100scoder2010-01-301-0/+12
| | | | | | | test case for lxml.objectify bug --HG-- branch : trunk
* [svn r4212] Fixed ObjectifiedElement.__setattr__ to not raise a ValueError ↵jholg2009-09-281-0/+19
| | | | | | | | | but still create an empty-string child element for non-ascii/non-unicode values. --HG-- branch : trunk
* [svn r4197] r5216@delle: sbehnel | 2009-08-22 14:42:32 +0200scoder2009-08-221-0/+1
| | | | | | | fix help(lxml.objectify), prevent objectify.ElementMaker from injecting default namespaces when not annotating, some cleanup/comments, doctest fixes, run API doctests in objectify --HG-- branch : trunk
* [svn r4167] Accept only true, false, 1, 0 as boolean values from an XML doc.jholg2009-06-171-0/+38
| | | | | --HG-- branch : trunk
* [svn r4160] new keyword arg xsi_nil (default False) for deannotate(), to ↵jholg2009-06-091-12/+19
| | | | | | | | | | remove xsi:nil if needed, deannotate() now uses strip_attributes() implementation. Tests included, removed duplicate test_pytype_deannotate method. --HG-- branch : trunk
* [svn r3943] ObjectPath(...)(root, default) now returns default even ifjholg2008-08-211-0/+21
| | | | | | | root element does not match for absolute paths. --HG-- branch : trunk
* [svn r3861] Support for base_url argument in objectify module functions,jholg2008-07-011-0/+47
| | | | | | | | with tests. 'base' attribute special-cased in ObjectifiedElement __setattr__ method. --HG-- branch : trunk
* [svn r3822] r4494@delle: sbehnel | 2008-06-09 13:21:39 +0200scoder2008-06-091-0/+13
| | | | | | | support for pickling ElementTree objects --HG-- branch : trunk
* [svn r3758] r4374@delle: sbehnel | 2008-05-26 12:12:39 +0200scoder2008-05-261-2/+2
| | | | | | | doctest work-arounds for Py3 --HG-- branch : trunk
* [svn r3694] r4252@delle: sbehnel | 2008-05-20 22:09:08 +0200scoder2008-05-211-101/+93
| | | | | | | lots of Py3 fixes --HG-- branch : trunk
* [svn r3689] r4235@delle: sbehnel | 2008-05-19 23:57:56 +0200scoder2008-05-201-1/+1
| | | | | | | Py3 test fixes --HG-- branch : trunk
* [svn r3508] r3916@delle: sbehnel | 2008-04-08 09:45:15 +0200scoder2008-04-101-0/+10
| | | | | | | objectify: let BoolElement inherit from IntElement (as in Python), lots of cleanup in 'special methods' --HG-- branch : trunk
* [svn r3506] Added __int__, __long__, __float__, __complex__ methods to ↵jholg2008-04-071-0/+20
| | | | | | | | | StringElement, plus tests. --HG-- branch : trunk
* [svn r3490] r3862@delle: sbehnel | 2008-03-27 17:13:40 +0100scoder2008-03-271-1/+1
| | | | | | | Py2.3 fix --HG-- branch : trunk
* [svn r3429] r3780@delle: sbehnel | 2008-03-12 20:28:21 +0100scoder2008-03-121-31/+82
| | | | | | | extended test case on custom types in objectify --HG-- branch : trunk
* [svn r3390] r3702@delle: sbehnel | 2008-03-03 13:32:50 +0100scoder2008-03-031-1/+1
| | | | | | | tons of API usage fixes in the docs --HG-- branch : trunk
* [svn r3331] r3580@delle: sbehnel | 2008-02-22 08:15:04 +0100scoder2008-02-221-4/+4
| | | | | | | cleanup, deprecation of setPytypeAttributeTag() -> set_pytype_attribute_tag() --HG-- branch : trunk
* [svn r3263] r3437@delle: sbehnel | 2008-02-08 19:41:02 +0100scoder2008-02-081-9/+92
| | | | | | | more slicing tests for objectify --HG-- branch : trunk
* [svn r3261] r3433@delle: sbehnel | 2008-02-08 15:38:06 +0100scoder2008-02-081-0/+1
| | | | | | | comment --HG-- branch : trunk
* [svn r3260] r3431@delle: sbehnel | 2008-02-08 15:31:54 +0100scoder2008-02-081-1/+100
| | | | | | | slicing tests for objectify --HG-- branch : trunk
* [svn r3183] r3277@delle: sbehnel | 2008-01-21 16:40:29 +0100scoder2008-01-211-3/+4
| | | | | | | switch off some more doctests under Python 2.3 --HG-- branch : trunk
* [svn r3182] r3276@delle: sbehnel | 2008-01-21 14:51:38 +0100scoder2008-01-211-3/+4
| | | | | | | run HTML doctests only under Python 2.4+, fix some 2.4-isms in the tests --HG-- branch : trunk
* [svn r3107] r3126@delle: sbehnel | 2007-12-18 23:05:03 +0100scoder2007-12-191-4/+8
| | | | | | | fix API usage --HG-- branch : trunk
* [svn r3019] move gc.collect() into tearDown() methods in tests to run it ↵scoder2007-10-291-0/+2
| | | | | | | after each test --HG-- branch : trunk
* [svn r2990] test cleanup, string formatting must also work for DataElementsscoder2007-10-241-21/+30
| | | | | --HG-- branch : trunk
* [svn r2988] Fixed objctify StringElement __cmp__ and __mod__.jholg2007-10-241-1/+50
| | | | | --HG-- branch : trunk
* [svn r2898] extended objectify test casesscoder2007-09-191-0/+80
| | | | | --HG-- branch : trunk
* [svn r2889] new type annotation tests by Holgerscoder2007-09-181-3/+165
| | | | | --HG-- branch : trunk
* [svn r2888] public annotate() function, keep TREE pytype annotation if ↵scoder2007-09-171-3/+4
| | | | | | | required, do not ignore old types by default --HG-- branch : trunk
* [svn r2822] more test case cleanupscoder2007-09-031-3/+2
| | | | | --HG-- branch : trunk
* [svn r2808] some more test cases for objectifyscoder2007-08-311-23/+53
| | | | | --HG-- branch : trunk
* [svn r2806] fix namespace setup of objectify.E factoryscoder2007-08-311-1/+1
| | | | | --HG-- branch : trunk
* [svn r2791] objectify E factory testsscoder2007-08-301-0/+73
| | | | | --HG-- branch : trunk
* [svn r2770] changed objectify bool test case to reflect type persistance changescoder2007-08-281-4/+4
| | | | | --HG-- branch : trunk
* [svn r2754] objectify updates by Holger, support passing ObjectifiedElement ↵scoder2007-08-201-0/+12
| | | | | | | objects into DateElement() --HG-- branch : trunk
* [svn r2717] fixes for tests and objectify after switching pytype from 'none' ↵scoder2007-07-311-9/+63
| | | | | | | to 'NoneType' --HG-- branch : trunk
* [svn r2686] namespace class registry is now local to the ↵scoder2007-07-211-4/+6
| | | | | | | ElementNamespaceClassLookup instance --HG-- branch : trunk
* [svn r2565] disable calling unittest scripts directlyscoder2007-07-021-1/+1
| | | | | --HG-- branch : trunk
* [svn r2559] objectify: loads of test updates by Holger (merged from 1.3 ↵scoder2007-07-011-23/+383
| | | | | | | branch), fixes for passing None and Element values to DataElement(), type checking in DataElement() --HG-- branch : trunk
* [svn r2499] swapped xsi annotations for double and float types: prefer doublescoder2007-06-221-36/+36
| | | | | --HG-- branch : trunk
* [svn r2498] single function for annotate() and xsiannotate()scoder2007-06-221-0/+20
| | | | | --HG-- branch : trunk
* [svn r2330] test cases for XSI annotations in objectifyscoder2007-05-211-0/+18
| | | | | --HG-- branch : trunk
* [svn r2312] always use xsd namespace prefixes for schema types in ↵scoder2007-05-161-39/+39
| | | | | | | objectify's xsi:type --HG-- branch : trunk
* [svn r2227] cleanupsscoder2007-04-111-26/+26
| | | | | --HG-- branch : trunk
* [svn r2225] Holger's patch for type annotations in objectifyscoder2007-04-101-15/+316
| | | | | --HG-- branch : trunk