summaryrefslogtreecommitdiff
path: root/docutils/test/test_nodes.py
Commit message (Collapse)AuthorAgeFilesLines
* added possibility to pass node classes to node.traverse()wiemann2005-06-051-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3438 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added --id-prefix and --auto-id-prefix optionswiemann2005-05-211-0/+27
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3358 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged rev. 3094:3101 and 3102:HEAD from branches/multiple-ids to trunkwiemann2005-03-261-1/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3129 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed Node.flattened(); added Node.traverse();wiemann2005-03-151-28/+42
| | | | | | | implemented Node.next_node() using Node.traverse() git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3048 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed redundant get_children();wiemann2005-03-141-5/+3
| | | | | | | | in case we want to change the behavior later, be can use __getattr__ or a descriptor; (the list is modified in place anyway, so there'd be not much to change about get_children) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3038 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed Node.has_children methodwiemann2005-03-141-9/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed docutils.nodes.Node.tree to docutils.nodes.Node.flattened, and added ↵goodger2005-03-131-5/+6
| | | | | | to the docstring git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3029 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed lambda, renamed cond to condition (explicit & self-documenting)goodger2005-03-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3016 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Reintroduced the changes from 1.13, plus allowance for py2.1, and no ↵goodger2005-03-051-9/+13
| | | | | | reliance on "from __future__ import" which I DO NOT want in production code. Also lambdas are ugly, confusing, and avoidable -- keep those out too. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3013 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Node.tree() methodwiemann2005-03-051-3/+15
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3012 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reverted test_nodes.py from 1.14 to 1.13; the nested scopes arewiemann2005-03-051-8/+8
| | | | | | | | | | | | | necessary because of the lambda expression in line 146:: self.assertEquals(getlist(e, cond=lambda x: x not in e[0:2]), [e[0][0], e[0][1], e[0][1][0], e[2]]) otherwise it doesn't work with Python 2.1 because we can't reference the local e variable. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3010 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed unnecessary __future__ import; simplified (& sped up!) test_next_nodegoodger2005-03-051-8/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3009 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Node.has_children() and Node.next_node()wiemann2005-03-051-0/+38
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3007 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Element.clear()wiemann2005-03-041-5/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3003 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2003-04-281-0/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1294 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* beginnings of substitution case-sensitizinggoodger2003-03-271-0/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1235 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2003-01-031-5/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1054 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* changed docstring field lists into commentsgoodger2002-10-091-6/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@778 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-08-211-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@572 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-08-161-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@545 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-301-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@158 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-231-0/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@139 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@110 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updatedgoodger2002-05-051-1/+32
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@91 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Initial revisiongoodger2002-04-201-0/+83
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@18 929543f6-e4f2-0310-98a6-ba3bd3dd1d04