diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-11 01:24:35 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-11 01:24:35 -0400 |
| commit | 0ffe79be0502a616abb19b13d1d02741c677b38e (patch) | |
| tree | f9e1fa7c963e45e9bab615061e56737794656ff5 | |
| parent | 73598739fbd0596ef15b15f827d6a47fb5862a98 (diff) | |
| download | pyramid-0ffe79be0502a616abb19b13d1d02741c677b38e.tar.gz pyramid-0ffe79be0502a616abb19b13d1d02741c677b38e.tar.bz2 pyramid-0ffe79be0502a616abb19b13d1d02741c677b38e.zip | |
coverage
| -rw-r--r-- | pyramid/tests/test_config/test_factories.py | 11 | ||||
| -rw-r--r-- | pyramid/tests/test_scripting.py | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/pyramid/tests/test_config/test_factories.py b/pyramid/tests/test_config/test_factories.py index cf3a9f8d9..e89fc077e 100644 --- a/pyramid/tests/test_config/test_factories.py +++ b/pyramid/tests/test_config/test_factories.py @@ -157,14 +157,3 @@ class TestFactoriesMixin(unittest.TestCase): self.assertRaises(AttributeError, config.add_request_method) -class DummyRequest(object): - extensions = None - - def __init__(self, registry): - self.registry = registry - - def _set_properties(self, properties): - if self.extensions is None: - self.extensions = [] - self.extensions.extend(properties) - diff --git a/pyramid/tests/test_scripting.py b/pyramid/tests/test_scripting.py index a27ff812f..4dab5cee5 100644 --- a/pyramid/tests/test_scripting.py +++ b/pyramid/tests/test_scripting.py @@ -150,7 +150,7 @@ class DummyRegistry(object): def __init__(self, utilities): self.utilities = utilities - def queryUtility(self, iface, default=None): + def queryUtility(self, iface, default=None): # pragma: no cover if self.utilities: return self.utilities.pop(0) return default |
