summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2018-10-23 17:01:47 +0100
committerChris Dent <cdent@anticdent.org>2018-10-23 17:01:47 +0100
commit9fcc98bd3e5bde3a26326f3156845093f84b8832 (patch)
treef0e7f4980c56e3f296daa1649ae7232bd0e32dd7 /tests
parent9a873a24759f69d6414042abdfc2fde21f8cca21 (diff)
downloadpaste-git-9fcc98bd3e5bde3a26326f3156845093f84b8832.tar.gz
Fix up testing after switch to pytest
pytest exposes many warnings, some but not all of which are cleaned up here. The main switch is to use html.escape instead of cgi.escape. This inspired the addition of 'future' to requirements. The remaining warnings are related to pytest deprecations or over-eager test discovery. It is perhaps ironic that the switch to pytest is to avoid nose being mostly dead, and now we are using features in pytest that pytest wants to make dead. These are left for later cleanups, which means that running the tests is noisy.
Diffstat (limited to 'tests')
-rw-r--r--tests/template.txt (renamed from tests/test_template.txt)0
-rw-r--r--tests/test_doctests.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_template.txt b/tests/template.txt
index 1313d34..1313d34 100644
--- a/tests/test_template.txt
+++ b/tests/template.txt
diff --git a/tests/test_doctests.py b/tests/test_doctests.py
index d59d666..efea589 100644
--- a/tests/test_doctests.py
+++ b/tests/test_doctests.py
@@ -4,7 +4,7 @@ from paste.util.import_string import simple_import
import os
filenames = [
- 'tests/test_template.txt',
+ 'tests/template.txt',
]
modules = [