projects
/
pgwui_logout
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c6735
)
Fix lambda syntax
author
Karl O. Pinc
<kop@meme.com>
Thu, 25 Oct 2018 03:10:57 +0000
(22:10 -0500)
committer
Karl O. Pinc
<kop@meme.com>
Thu, 25 Oct 2018 03:10:57 +0000
(22:10 -0500)
tests/views/test_logout.py
patch
|
blob
|
history
diff --git
a/tests/views/test_logout.py
b/tests/views/test_logout.py
index 8a3ff7437753ef38e9eab38d2ebe04d15971ab96..dfeb4b950199955399033a58735137daf6b1e700 100644
(file)
--- a/
tests/views/test_logout.py
+++ b/
tests/views/test_logout.py
@@
-28,7
+28,7
@@
def test_logout_view(monkeypatch):
'''Deletes the session, returns no errors'''
# Have the pyramid.view.view_config decorator do nothing
monkeypatch.setattr(pyramid.view, 'view_config',
- lambda **kwargs: (lambda
(func)
: func))
+ lambda **kwargs: (lambda
func
: func))
class MockSession():
def __init__(self):