Python: Move pyramid tests from internal repo

Use minimal mock instead of full library
This commit is contained in:
Rasmus Wriedt Larsen
2019-09-30 16:23:47 +02:00
parent 7c44c37d8b
commit 2874c54133
13 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
class Response(object):
pass

View File

@@ -0,0 +1,7 @@
# https://docs.pylonsproject.org/projects/pyramid/en/1.10-branch/_modules/pyramid/view.html#view_config
class view_config(object):
def __init__(self, **settings):
pass
def __call__(self, wrapped):
pass