summaryrefslogtreecommitdiff
path: root/tests/test_security.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_security.py')
-rw-r--r--tests/test_security.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_security.py b/tests/test_security.py
index 39045fd..e00ef75 100644
--- a/tests/test_security.py
+++ b/tests/test_security.py
@@ -36,8 +36,11 @@ class PrivateStuff(object):
class PublicStuff(object):
- bar = lambda self: 23
- _foo = lambda self: 42
+ def bar(self):
+ return 23
+
+ def _foo(self):
+ return 42
def __repr__(self):
return "PublicStuff"