~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to test/test_parsers/test_rst/test_option_lists.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Author: David Goodger
4
4
# Contact: goodger@users.sourceforge.net
5
 
# Revision: $Revision: 1.5 $
6
 
# Date: $Date: 2003/09/19 03:01:44 $
 
5
# Revision: $Revision: 2975 $
 
6
# Date: $Date: 2005-02-19 02:23:10 +0100 (Sat, 19 Feb 2005) $
7
7
# Copyright: This module has been placed in the public domain.
8
8
 
9
9
"""
683
683
--source-url=<URL>      Use the supplied <URL> verbatim.
684
684
--output-encoding=<name[:handler]>, -o<name[:handler]>
685
685
                        Specify the text encoding for output.
 
686
-f <[path]filename>     Send output to file.
 
687
-d <src dest>           Use diff from <src> to <dest>.
 
688
--bogus=<x y z>         Bogus 3D coordinates.
686
689
""",
687
690
"""\
688
691
<document source="test data">
714
717
            <description>
715
718
                <paragraph>
716
719
                    Specify the text encoding for output.
 
720
        <option_list_item>
 
721
            <option_group>
 
722
                <option>
 
723
                    <option_string>
 
724
                        -f
 
725
                    <option_argument delimiter=" ">
 
726
                        <[path]filename>
 
727
            <description>
 
728
                <paragraph>
 
729
                    Send output to file.
 
730
        <option_list_item>
 
731
            <option_group>
 
732
                <option>
 
733
                    <option_string>
 
734
                        -d
 
735
                    <option_argument delimiter=" ">
 
736
                        <src dest>
 
737
            <description>
 
738
                <paragraph>
 
739
                    Use diff from <src> to <dest>.
 
740
        <option_list_item>
 
741
            <option_group>
 
742
                <option>
 
743
                    <option_string>
 
744
                        --bogus
 
745
                    <option_argument delimiter="=">
 
746
                        <x y z>
 
747
            <description>
 
748
                <paragraph>
 
749
                    Bogus 3D coordinates.
717
750
"""],
718
751
]
719
752