summaryrefslogtreecommitdiff
path: root/tests/test_config
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-09-20 00:09:29 -0500
committerMichael Merickel <michael@merickel.org>2019-10-02 10:03:07 -0500
commitba311842b667348c51fb1a479ae08a042434f1bc (patch)
treea34f4945305113a8666618e255281858ee2f825a /tests/test_config
parentbe62391821676393b7ad5ab51655892e991c2ae0 (diff)
downloadpyramid-ba311842b667348c51fb1a479ae08a042434f1bc.tar.gz
pyramid-ba311842b667348c51fb1a479ae08a042434f1bc.tar.bz2
pyramid-ba311842b667348c51fb1a479ae08a042434f1bc.zip
define an IPredicateInfo instead of passing the full configurator to predicates
Diffstat (limited to 'tests/test_config')
-rw-r--r--tests/test_config/test_predicates.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_config/test_predicates.py b/tests/test_config/test_predicates.py
index c27b41639..f8abbbce4 100644
--- a/tests/test_config/test_predicates.py
+++ b/tests/test_config/test_predicates.py
@@ -476,5 +476,11 @@ class DummyRequest:
class DummyConfigurator(object):
+ package = 'dummy package'
+ registry = 'dummy registry'
+
+ def get_settings(self):
+ return {}
+
def maybe_dotted(self, thing):
return thing