aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_wsgi.py')
-rw-r--r--test/test_wsgi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_wsgi.py b/test/test_wsgi.py
index fe6f09b5..8c782b27 100644
--- a/test/test_wsgi.py
+++ b/test/test_wsgi.py
@@ -10,8 +10,8 @@ def tflow():
return wsgi.Flow(("127.0.0.1", 8888), req)
-class TestApp:
-
+class ExampleApp:
+
def __init__(self):
self.called = False
@@ -35,7 +35,7 @@ class TestWSGI:
assert r["QUERY_STRING"] == "bar=voing"
def test_serve(self):
- ta = TestApp()
+ ta = ExampleApp()
w = wsgi.WSGIAdaptor(ta, "foo", 80, "version")
f = tflow()
f.request.host = "foo"