[Checkins] SVN: zope.app.twisted/trunk/ Fix tests and get ready for release.
Stephan Richter
srichter at gmail.com
Fri Jul 24 03:50:56 EDT 2009
Log message for revision 102208:
Fix tests and get ready for release.
Changed:
U zope.app.twisted/trunk/CHANGES.txt
U zope.app.twisted/trunk/setup.py
U zope.app.twisted/trunk/src/zope/app/twisted/ftp/tests/trial.txt
-=-
Modified: zope.app.twisted/trunk/CHANGES.txt
===================================================================
--- zope.app.twisted/trunk/CHANGES.txt 2009-07-24 07:24:48 UTC (rev 102207)
+++ zope.app.twisted/trunk/CHANGES.txt 2009-07-24 07:50:56 UTC (rev 102208)
@@ -2,10 +2,10 @@
CHANGES
=======
-3.4.3 (unreleased)
+3.5.0 (2009-07-24)
------------------
-- ...
+- Update tests to work with latest packages.
3.4.2 (2009-01-27)
------------------
@@ -19,7 +19,7 @@
- Remove dependency on zope.app.zapi, substituting its uses with direct
imports.
-- Change "cheeseshop" to "pypi" in the package homepage.
+- Change "cheeseshop" to "pypi" in the package homepage.
3.4.1 (2008-02-02)
------------------
Modified: zope.app.twisted/trunk/setup.py
===================================================================
--- zope.app.twisted/trunk/setup.py 2009-07-24 07:24:48 UTC (rev 102207)
+++ zope.app.twisted/trunk/setup.py 2009-07-24 07:50:56 UTC (rev 102208)
@@ -22,7 +22,7 @@
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name = 'zope.app.twisted',
- version = '3.4.3dev',
+ version = '3.5.0',
author='Zope Corporation and Contributors',
author_email='zope-dev at zope.org',
description='Twisted Integration for Zope 3 Applications',
Modified: zope.app.twisted/trunk/src/zope/app/twisted/ftp/tests/trial.txt
===================================================================
--- zope.app.twisted/trunk/src/zope/app/twisted/ftp/tests/trial.txt 2009-07-24 07:24:48 UTC (rev 102207)
+++ zope.app.twisted/trunk/src/zope/app/twisted/ftp/tests/trial.txt 2009-07-24 07:50:56 UTC (rev 102208)
@@ -22,18 +22,22 @@
... ]
>>> sys.argv = 'test --tests-pattern ^trialtest$ '.split()
- >>> testrunner.run(defaults)
- ... # doctest: +NORMALIZE_WHITESPACE
+ >>> try:
+ ... testrunner.run(defaults) # doctest: +NORMALIZE_WHITESPACE
+ ... except SystemExit, exit:
+ ... exit.code == 1
Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in N.NNN seconds.
<BLANKLINE>
<BLANKLINE>
Error in test test_error (trialtest.TestTrialTests)
+ Traceback (most recent call last):
Exception: this test is a broken trial test :-)
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Failure in test test_failure (trialtest.TestTrialTests)
+ Traceback (most recent call last):
FailTest: I am a failed trial test
<BLANKLINE>
Ran 3 tests with 1 failures and 1 errors in N.NNN seconds.
@@ -45,23 +49,28 @@
errors.
>>> sys.argv = 'test --tests-pattern ^trialtestfs$ '.split()
- >>> testrunner.run(defaults)
- ... # doctest: +NORMALIZE_WHITESPACE
+ >>> try:
+ ... testrunner.run(defaults) # doctest: +NORMALIZE_WHITESPACE
+ ... except SystemExit, exit:
+ ... exit.code == 1
Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in N.NNN seconds.
<BLANKLINE>
<BLANKLINE>
Error in test test_assert_ok (trialtestfs.TestTrialBrokenSetup)
+ Traceback (most recent call last):
Exception: broken setup
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Error in test test_error (trialtestfs.TestTrialBrokenSetup)
+ Traceback (most recent call last):
Exception: broken setup
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Error in test test_failure (trialtestfs.TestTrialBrokenSetup)
+ Traceback (most recent call last):
Exception: broken setup
<BLANKLINE>
Ran 3 tests with 0 failures and 3 errors in N.NNN seconds.
@@ -73,33 +82,40 @@
errors.
>>> sys.argv = 'test --tests-pattern ^trialtestft$ '.split()
- >>> testrunner.run(defaults)
- ... # doctest: +NORMALIZE_WHITESPACE
+ >>> try:
+ ... testrunner.run(defaults) # doctest: +NORMALIZE_WHITESPACE
+ ... except SystemExit, exit:
+ ... exit.code == 1
Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in N.NNN seconds.
<BLANKLINE>
<BLANKLINE>
Error in test test_assert_ok (trialtestft.TestTrialBrokenTeardown)
+ Traceback (most recent call last):
Exception: broken tearDown
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Error in test test_error (trialtestft.TestTrialBrokenTeardown)
+ Traceback (most recent call last):
Exception: this test is a broken trial test :-)
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Error in test test_error (trialtestft.TestTrialBrokenTeardown)
+ Traceback (most recent call last):
Exception: broken tearDown
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Failure in test test_failure (trialtestft.TestTrialBrokenTeardown)
+ Traceback (most recent call last):
FailTest: I am a failed trial test
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Error in test test_failure (trialtestft.TestTrialBrokenTeardown)
+ Traceback (most recent call last):
Exception: broken tearDown
<BLANKLINE>
Ran 3 tests with 1 failures and 4 errors in N.NNN seconds.
@@ -118,18 +134,22 @@
>>> twisted.trial.util._Janitor.do_cleanReactor = new_doCleanReactor
>>> sys.argv = 'test --tests-pattern ^trialtest$ '.split()
- >>> testrunner.run(defaults)
- ... # doctest: +NORMALIZE_WHITESPACE
+ >>> try:
+ ... testrunner.run(defaults) # doctest: +NORMALIZE_WHITESPACE
+ ... except SystemExit, exit:
+ ... exit.code == 1
Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in N.NNN seconds.
<BLANKLINE>
<BLANKLINE>
Error in test test_error (trialtest.TestTrialTests)
+ Traceback (most recent call last):
Exception: this test is a broken trial test :-)
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
Failure in test test_failure (trialtest.TestTrialTests)
+ Traceback (most recent call last):
FailTest: I am a failed trial test
<BLANKLINE>
Ran 3 tests with 1 failures and 1 errors in N.NNN seconds.
More information about the Checkins
mailing list