diff options
| author | Gael Pasgrimaud <gael@gawel.org> | 2012-12-17 22:59:39 +0100 |
|---|---|---|
| committer | Gael Pasgrimaud <gael@gawel.org> | 2012-12-17 22:59:39 +0100 |
| commit | fd6e6b3aeb355fa0a2f644201ed9a6685fb826ce (patch) | |
| tree | 7408a6538f72bc0efee62d73dd09552adb245b7f /docs | |
| parent | 3e14a6342b24a2fc0416b224d2a635506e0734c7 (diff) | |
| download | webtest-fd6e6b3aeb355fa0a2f644201ed9a6685fb826ce.tar.gz | |
fix wrong paths
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ext.txt | 4 | ||||
| -rw-r--r-- | docs/index_fixt.py | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/ext.txt b/docs/ext.txt index f1efada..42c38ed 100644 --- a/docs/ext.txt +++ b/docs/ext.txt @@ -15,11 +15,11 @@ Using casperjs to run tests The js part: -.. literalinclude:: ../../tests/test_casperjs.js +.. literalinclude:: ../tests/test_casperjs.js :language: javascript The python part: -.. literalinclude:: ../../tests/test_casperjs.py +.. literalinclude:: ../tests/test_casperjs.py :pyobject: test_casperjs diff --git a/docs/index_fixt.py b/docs/index_fixt.py index b5b4c3f..8ec1c39 100644 --- a/docs/index_fixt.py +++ b/docs/index_fixt.py @@ -1,9 +1,10 @@ # -*- coding: utf-8 -*- -from doctest import ELLIPSIS +import doctest def setup_test(test): for example in test.examples: - example.options.setdefault(ELLIPSIS, 1) + example.options.setdefault(doctest.ELLIPSIS, 1) + example.options.setdefault(doctest.NORMALIZE_WHITESPACE, 1) setup_test.__test__ = False |
