summaryrefslogtreecommitdiff
path: root/tests/test_config/pkgs/selfscan/__init__.py
blob: 8bc8761ca40179a23f9d7a55c81549142a56341f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from pyramid.view import view_config


@view_config(renderer='string')
def abc(request):
    return 'root'


def main():
    from pyramid.config import Configurator

    c = Configurator()
    c.scan()
    return c