Mercurial > python-cmd2
comparison example/exampleSession.txt @ 174:471318e59e51
still small glitch breaking up tests
author | catherine@dellzilla |
---|---|
date | Fri, 12 Dec 2008 15:12:37 -0500 |
parents | c01f8e612a0a |
children | 72de7d8566e2 |
comparison
equal
deleted
inserted
replaced
173:10a45c030364 | 174:471318e59e51 |
---|---|
1 This is cut-and-pasted from an interactive example.py session. | |
2 Calling `example.py -t` runs it as a series of unit tests, | |
3 verifying that the same output is still returned. | |
4 | |
5 (Cmd) orate four score and | |
6 > seven releases ago | |
7 > our BDFL | |
8 > | |
9 > | |
10 four score and | |
11 seven releases ago | |
12 our BDFL | |
13 (Cmd) & look, a shortcut! | 1 (Cmd) & look, a shortcut! |
14 look, a shortcut! | 2 look, a shortcut! |
15 (Cmd) say put this in a file > myfile.txt | 3 (Cmd) say put this in a file > myfile.txt |
16 (Cmd) say < myfile.txt | 4 (Cmd) say < myfile.txt |
17 put this in a file | 5 put this in a file |
26 (Cmd) speak the "unhidden quote" text | 14 (Cmd) speak the "unhidden quote" text |
27 the "unhidden quote" text | 15 the "unhidden quote" text |
28 (Cmd) # Quoted strings immediately following the command are NOT included in the arguments - | 16 (Cmd) # Quoted strings immediately following the command are NOT included in the arguments - |
29 (Cmd) # this is due to a bug in pyparsing. See: | 17 (Cmd) # this is due to a bug in pyparsing. See: |
30 (Cmd) # https://sourceforge.net/tracker/index.php?func=detail&aid=2412233&group_id=97203&atid=617311 | 18 (Cmd) # https://sourceforge.net/tracker/index.php?func=detail&aid=2412233&group_id=97203&atid=617311 |
31 (Cmd) set prompt "---> " | 19 (Cmd) # Test suite can't test changing prompts. |
32 prompt - was: (Cmd) | |
33 now: ---> | |
34 ---> say goodbye | |
35 goodbye |