From ba311842b667348c51fb1a479ae08a042434f1bc Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Fri, 20 Sep 2019 00:09:29 -0500 Subject: define an IPredicateInfo instead of passing the full configurator to predicates --- tests/test_config/test_predicates.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_config') 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 -- cgit v1.2.3