summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2023-04-30 11:23:00 +0100
committerChris Dent <cdent@anticdent.org>2023-04-30 11:23:00 +0100
commit54f8ec1db64db821f07d6e5a54911af353cc6136 (patch)
treeaed5fc1ab576f373f72a6fd3cc92e20fc196ee1d
parent9f0ca361394e809ef09c5392fb84f05257c886dd (diff)
downloadpaste-git-54f8ec1db64db821f07d6e5a54911af353cc6136.tar.gz
fix warning in test_grantip
-rw-r--r--tests/test_grantip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_grantip.py b/tests/test_grantip.py
index 2ddf7f1..cd5c98a 100644
--- a/tests/test_grantip.py
+++ b/tests/test_grantip.py
@@ -1,7 +1,7 @@
from paste.auth import grantip
from paste.fixture import *
-def test_make_app():
+def _make_app():
def application(environ, start_response):
start_response('200 OK', [('content-type', 'text/plain')])
lines = [
@@ -23,7 +23,7 @@ def test_make_app():
return app
def test_req():
- app = test_make_app()
+ app = _make_app()
def doit(remote_addr):
res = app.get('/', extra_environ={'REMOTE_ADDR': remote_addr})
return res.body