diff options
author | Jason Madden <jamadden@gmail.com> | 2017-06-29 12:44:25 -0500 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2017-06-30 11:01:09 -0500 |
commit | 712bb8e078de20e01311cfe57d8dccfbbdcbe9b3 (patch) | |
tree | 4cb7d4e9cc901fe144d168b77eea235a08932787 /src/zope/component/tests/examples.py | |
parent | 43d7351318eb373d1f4f500b70e4e461048c16f4 (diff) | |
download | zope-component-issue29.tar.gz |
100% coverageissue29
Add change note and badge to readme.
Remove unused class and function.
Omit standalonetests.py entirely from coverage.
Another unused class.
Incorporate feedback in test__api.py
* Bring back _callFUT and make the queryAdapterInContext tests call it
* Change raise NotImplentedError into specific fails_if_called() calls.
Remove redundant argument now that all test in Test_adapts pass under all versions.
Remove NotImplementedError from test_globalregistry.py
Remove NotImplementedError from test_hookable.py
Remove NotImplementedError from test_registry.py
Remove NotImplementedError from test_security.py
Remove NotImplementedError from test_zcml.py
Remove NotImplementedError from test_factory.py
Document ZCML feature and devmode.
Really accept all arguments unless opted out.
Diffstat (limited to 'src/zope/component/tests/examples.py')
-rw-r--r-- | src/zope/component/tests/examples.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/zope/component/tests/examples.py b/src/zope/component/tests/examples.py index 2b5e08c..3f670c2 100644 --- a/src/zope/component/tests/examples.py +++ b/src/zope/component/tests/examples.py @@ -53,9 +53,6 @@ class ISI(Interface): class ISII(Interface): pass -def noop(*args): - pass - class U(object): def __init__(self, name): @@ -121,11 +118,6 @@ class Comp(object): comp = Comp(1) -@implementer(I3) -class Comp2(object): - def __init__(self, context): - self.context = context - class ConformsToIComponentLookup(object): """Allow a dummy sitemanager to conform/adapt to `IComponentLookup`.""" |