summaryrefslogtreecommitdiffstats
path: root/tools/test-surface.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-surface.py')
-rw-r--r--tools/test-surface.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/test-surface.py b/tools/test-surface.py
index 7a89069..f51c26e 100644
--- a/tools/test-surface.py
+++ b/tools/test-surface.py
@@ -35,7 +35,12 @@ PUB_RE = re.compile(r"^\s*pub\s+(?:fn|struct|enum|trait|const|static|type)\s+([A
COMMENT = re.compile(r"^\s*(?://|//!|///)")
GATE = "test-support"
HARNESS = ("Env::new", "env_with_fixture", "Fixture", "tempdir", "Command::new",
- "fs::", "shim_dir", "corpus_root")
+ "fs::", "shim_dir", "corpus_root",
+ # `Web::` starts a real HTTP server; a test that talks to it is not a
+ # unit test however little code it contains. Missing this first made
+ # two http route handlers look movable when their tests were
+ # driving a live listener.
+ "Web::", "web.get", "web.post", "raw_request")
# Reasons that take argument to state; everything else is derived from the
# evidence the analysis already has.