diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-15 01:55:54 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-15 09:24:07 -0500 |
| commit | 0c29cf2df41600d3906d521c72991c7686018b71 (patch) | |
| tree | ff907f90ec9467e12874c9b2c961549d0e7caf74 /tests/pkgs/wsgiapp2app | |
| parent | 851c368e3c158e264358de10446f5b5de240e534 (diff) | |
| download | pyramid-0c29cf2df41600d3906d521c72991c7686018b71.tar.gz pyramid-0c29cf2df41600d3906d521c72991c7686018b71.tar.bz2 pyramid-0c29cf2df41600d3906d521c72991c7686018b71.zip | |
format source using black
Diffstat (limited to 'tests/pkgs/wsgiapp2app')
| -rw-r--r-- | tests/pkgs/wsgiapp2app/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pkgs/wsgiapp2app/__init__.py b/tests/pkgs/wsgiapp2app/__init__.py index e2024198e..f7452f52c 100644 --- a/tests/pkgs/wsgiapp2app/__init__.py +++ b/tests/pkgs/wsgiapp2app/__init__.py @@ -1,6 +1,7 @@ from pyramid.view import view_config from pyramid.wsgi import wsgiapp2 + @view_config(name='hello', renderer='string') @wsgiapp2 def hello(environ, start_response): @@ -10,8 +11,10 @@ def hello(environ, start_response): start_response('200 OK', response_headers) return [b'Hello!'] + def main(): from pyramid.config import Configurator + c = Configurator() c.scan() return c |
