zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #00893
[Bug 553861] [NEW] Failing doctests in lp:zeitgeist
Public bug reported:
Revision 1384 made two doctests to fail,
======================================================================
FAIL: Doctest: test-engine-extension.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for test-engine-extension.rst
File "/media/devel/zeitgeist/trunk/test/test-engine-extension.rst", line 0
----------------------------------------------------------------------
File "/media/devel/zeitgeist/trunk/test/test-engine-extension.rst", line 64, in test-engine-extension.rst
Failed example:
engine.extensions.get_engine() # doctest:+ELLIPSIS
Expected:
<_zeitgeist.engine.main.ZeitgeistEngine instance at 0x...>
Got:
<weakproxy at 0x19553c0 to instance at 0x17d0dd0>
======================================================================
FAIL: testCreateEngine (engine-extension-test.TestExtensions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/media/devel/zeitgeist/trunk/test/engine-extension-test.py", line 51, in testCreateEngine
self.assertEqual(engine.extensions.return_engine(), engine)
AssertionError: <weakproxy at 0x1ddf2b8 to instance at 0x1dcdf80> != <_zeitgeist.engine.main.ZeitgeistEngine instance at 0x1dcdf80>
----------------------------------------------------------------------
Ran 79 tests in 45.998s
FAILED (failures=2)
I don't get why we are using wekref here? Does this fix any particular bug?
** Affects: zeitgeist
Importance: Undecided
Status: New
--
Failing doctests in lp:zeitgeist
https://bugs.launchpad.net/bugs/553861
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
Status in Zeitgeist Framework: New
Bug description:
Revision 1384 made two doctests to fail,
======================================================================
FAIL: Doctest: test-engine-extension.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for test-engine-extension.rst
File "/media/devel/zeitgeist/trunk/test/test-engine-extension.rst", line 0
----------------------------------------------------------------------
File "/media/devel/zeitgeist/trunk/test/test-engine-extension.rst", line 64, in test-engine-extension.rst
Failed example:
engine.extensions.get_engine() # doctest:+ELLIPSIS
Expected:
<_zeitgeist.engine.main.ZeitgeistEngine instance at 0x...>
Got:
<weakproxy at 0x19553c0 to instance at 0x17d0dd0>
======================================================================
FAIL: testCreateEngine (engine-extension-test.TestExtensions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/media/devel/zeitgeist/trunk/test/engine-extension-test.py", line 51, in testCreateEngine
self.assertEqual(engine.extensions.return_engine(), engine)
AssertionError: <weakproxy at 0x1ddf2b8 to instance at 0x1dcdf80> != <_zeitgeist.engine.main.ZeitgeistEngine instance at 0x1dcdf80>
----------------------------------------------------------------------
Ran 79 tests in 45.998s
FAILED (failures=2)
I don't get why we are using wekref here? Does this fix any particular bug?
Follow ups
References