From: David G. <go...@us...> - 2002-07-24 01:50:37
|
Update of /cvsroot/docutils/docutils/test/test_rst/test_directives In directory usw-pr-cvs1:/tmp/cvs-serv9393/docutils/test/test_rst/test_directives Modified Files: test_contents.py Log Message: updated Index: test_contents.py =================================================================== RCS file: /cvsroot/docutils/docutils/test/test_rst/test_directives/test_contents.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_contents.py 28 Jun 2002 04:20:38 -0000 1.4 --- test_contents.py 24 Jul 2002 01:50:33 -0000 1.5 *************** *** 116,119 **** --- 116,120 ---- :local: :depth: 2 + :backlinks: none """, """\ *************** *** 124,127 **** --- 125,129 ---- .stage: 'last reader' .details: + backlinks: None depth: 2 local: None *************** *** 139,144 **** <paragraph> Error in "contents" directive attributes at line 1: ! invalid attribute value: ! (attribute "depth", value "two") invalid literal for int(): two. <literal_block> .. contents:: --- 141,146 ---- <paragraph> Error in "contents" directive attributes at line 1: ! invalid attribute value: (attribute: "depth"; value: 'two') ! invalid literal for int(): two. <literal_block> .. contents:: *************** *** 158,161 **** --- 160,193 ---- .. contents:: :width: 2 + """], + ["""\ + .. contents:: + :backlinks: no way! + """, + """\ + <document> + <system_message level="3" type="ERROR"> + <paragraph> + Error in "contents" directive attributes at line 1: + invalid attribute value: (attribute: "backlinks"; value: 'no way!') + "no way!" unknown; choose from "top", "entry", or "none". + <literal_block> + .. contents:: + :backlinks: no way! + """], + ["""\ + .. contents:: + :backlinks: + """, + """\ + <document> + <system_message level="3" type="ERROR"> + <paragraph> + Error in "contents" directive attributes at line 1: + invalid attribute value: (attribute: "backlinks"; value: None) + must supply an argument; choose from "top", "entry", or "none". + <literal_block> + .. contents:: + :backlinks: """], ] |