示例#1
0
def test_insert_doc():
    new_items = ['infile : str', '    The name of the input file']
    new_items.extend(['outfile : str', '    The name of the output file'])
    newdoc = insert_doc(fmtd_doc, new_items)
    assert_equal(newdoc, inserted_doc)
示例#2
0
def test_insert_doc():
    new_items = ['infile : str', '    The name of the input file']
    new_items.extend(['outfile : str', '    The name of the output file'])
    newdoc = insert_doc(fmtd_doc, new_items)
    assert_equal(newdoc, inserted_doc)
def test_insert_doc():
    new_items = ["infile : str", "    The name of the input file"]
    new_items.extend(["outfile : str", "    The name of the output file"])
    newdoc = insert_doc(fmtd_doc, new_items)
    assert newdoc == inserted_doc