Skip to content

Commit

Permalink
Simplify the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Feb 8, 2008
1 parent 1842308 commit a119db2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/z3c/breadcrumb/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ def doctest_GenericBreadcrumb_interface():
"""Test that GenericBreadcrumb matches the interface
>>> from z3c.breadcrumb import browser, interfaces
>>> class RootStub(object):
... implements(IContainmentRoot)
>>> breadcrumb = browser.GenericBreadcrumb(RootStub(), TestRequest())
>>> breadcrumb = browser.GenericBreadcrumb(rootFolder, TestRequest())
>>> verifyObject(interfaces.IBreadcrumb, breadcrumb)
True
Expand Down

0 comments on commit a119db2

Please sign in to comment.