Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 222057
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hanno Boeck <hanno@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 222057 depends on: Show dependency tree
Bug 222057 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-14 10:29 0000
dev-python/nevow fails with FEATURES="test" if old/stable twisted is used.

Suggestion: Change
>=dev-python/twisted-2.4
to
>=dev-python/twisted-2.5

The errors:

TestCase.assertWarns missing
===============================================================================
[TODO]:
nevow.test.test_loaders.TestDocFactoriesCache.test_reloadAfterPrecompile

Reason: 'Fix so that disk templates are reloaded even after a precompile.
Probably just a matter of making the DocSerializer really lazy'
  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_loaders.py",
line 334, in test_reloadAfterPrecompile
    self.assertIn('bar', after)
<class 'twisted.trial.unittest.FailTest'>: 'bar' not in '<p>foo</p>'
===============================================================================
[TODO]: nevow.test.test_url.Serialization.test_rfc1808

Reason: "Many of these fail miserably at the moment; often with a / where there
shouldn't be"
  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_url.py",
line 625, in test_rfc1808
    self.failUnlessEqual(result, flatten(base.click(link)))
<class 'twisted.trial.unittest.FailTest'>: 'g:h' != 'g:///h'
===============================================================================
[FAIL]: nevow.test.test_nit.NitTest.test_reactorSpecified

  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_nit.py",
line 140, in test_reactorSpecified
    self.assertEqual(self.log, ['select'])
<class 'twisted.trial.unittest.FailTest'>: [] != ['select']
===============================================================================
[ERROR]: nevow.test.test_athena

  File "/usr/lib/python2.5/site-packages/twisted/python/reflect.py", line 352,
in namedAny
    topLevelPackage = __import__(trialname)
  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_athena.py",
line 9, in <module>
    from twisted.application.service import IServiceMaker
<type 'exceptions.ImportError'>: cannot import name IServiceMaker
===============================================================================
[ERROR]: nevow.test.test_testutil.JavaScriptTests.test_signalledExit

  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_testutil.py",
line 140, in setUp
    self.case = JavaScriptTestCase()
  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/testutil.py",
line 393, in __init__
    TrialTestCase.__init__(self, methodName)
  File "/usr/lib/python2.5/site-packages/twisted/trial/unittest.py", line 272,
in __init__
    super(TestCase, self).__init__(methodName)
  File "/usr/lib/python2.5/unittest.py", line 209, in __init__
    (self.__class__, methodName)
<type 'exceptions.ValueError'>: no such test method in <class
'nevow.testutil.JavaScriptTestCase'>: runTest
===============================================================================
[ERROR]: nevow.test.test_testutil.JavaScriptTests.test_unsuccessfulExit

  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/test/test_testutil.py",
line 140, in setUp
    self.case = JavaScriptTestCase()
  File
"/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/testutil.py",
line 393, in __init__
    TrialTestCase.__init__(self, methodName)
  File "/usr/lib/python2.5/site-packages/twisted/trial/unittest.py", line 272,
in __init__
    super(TestCase, self).__init__(methodName)
  File "/usr/lib/python2.5/unittest.py", line 209, in __init__
    (self.__class__, methodName)
<type 'exceptions.ValueError'>: no such test method in <class
'nevow.testutil.JavaScriptTestCase'>: runTest
-------------------------------------------------------------------------------
Ran 603 tests in 5.064s

FAILED (skips=16, expectedFailures=2, failures=1, errors=3, successes=582)

------- Comment #1 From Ali Polatel (RETIRED) 2008-05-14 17:08:52 0000 -------
Fixed. Thanks for reporting :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug