Changeset 63:e6fd368e8f33
- Timestamp:
- 02/23/07 16:26:40 (21 months ago)
- Author:
- Tarek Ziad?? <tarek@…>
- Message:
-
fixed test
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r48
|
r63
|
|
| 18 | 18 | |
| 19 | 19 | >>> 1 + 1 |
| 20 | | 3 |
| | 20 | 2 |
| 21 | 21 | |
| 22 | 22 | |
-
|
r16
|
r63
|
|
| 23 | 23 | |
| 24 | 24 | >>> res = open('tests/www/tutorials/how_to_use.html').read() |
| 25 | | >>> wanted = ("in the <a title='glossary_recipe' alt='glossary_recipe' hr" |
| 26 | | ... "ef='../recipes/glossary_recipe.html'>Glossary Recipe</a>") |
| 27 | | >>> wanted in res |
| | 25 | >>> "<a title='glossary_recipe' alt='glossary_recipe'" in res |
| 28 | 26 | True |
| 29 | | >>> wanted = ("<a title='main_readme_recipe' alt='main_readme_recipe' " |
| 30 | | ... "href='../recipes/main_readme_recipe.html'>main_readme" |
| 31 | | ... "_recipe</a>") |
| 32 | | >>> wanted in res |
| | 27 | >>> "<a title='main_readme_recipe' alt='main_readme_recipe'" in res |
| 33 | 28 | True |
| 34 | 29 | |
| 35 | 30 | |
| 36 | | |
| 37 | | |