From 1efb001c88957b25e41c18bf5dc0adde162bc369bea64270c8f284ef269462a5 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 16 Sep 2014 21:25:40 +0000 Subject: [PATCH] Accepting request 249494 from Cloud:OpenStack:Master New upstream release OBS-URL: https://build.opensuse.org/request/show/249494 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=32 --- python-testtools.changes | 43 ++++++++++++++++++++++++++++++++++++++++ python-testtools.spec | 2 +- testtools-0.9.35.tar.gz | 3 --- testtools-1.1.0.tar.gz | 3 +++ 4 files changed, 47 insertions(+), 4 deletions(-) delete mode 100644 testtools-0.9.35.tar.gz create mode 100644 testtools-1.1.0.tar.gz diff --git a/python-testtools.changes b/python-testtools.changes index b02b989..70ba8ab 100644 --- a/python-testtools.changes +++ b/python-testtools.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Tue Sep 16 06:17:46 UTC 2014 - tbechtold@suse.com + +- update to version 1.1.0: + * Exceptions in a ``fixture.getDetails`` method will no longer mask errors + raised from the same fixture's ``setUp`` method. + (Robert Collins, #1368440) + * Fix a long-standing bug where tearDown and cleanUps would not be called if + the test run was interrupted. This should fix leaking external resources + from interrupted tests. + (Robert Collins, #1364188) + * Fix a long-standing bug where calling sys.exit(0) from within a test would + cause the test suite to exit with 0, without reporting a failure of that + test. We still allow the test suite to be exited (since catching higher + order exceptions requires exceptional circumstances) but we now call a + last-resort handler on the TestCase, resulting in an error being + reported for the test. + (Robert Collins, #1364188) + * Fix an issue where tests skipped with the ``skip``* family of decorators + would still have their ``setUp`` and ``tearDown`` functions called. + (Thomi Richards, #https://github.com/testing-cabal/testtools/issues/86) + * We have adopted a formal backwards compatibility statement (see hacking.rst) + (Robert Collins) + * _jython_aware_splitext was not defined entirely compatibly. + (Robert Collins, #https://github.com/testing-cabal/testtools/issues/100) + * Discovery import error detection wasn't implemented for python 2.6 (the + 'discover' module). (Robert Collins) + * Discovery now executes load_tests (if present) in __init__ in all packages. + (Robert Collins, http://bugs.python.org/issue16662) + * ``stdout`` is now correctly honoured on ``run.TestProgram`` - before the + runner objects would be created with no stdout parameter. If construction + fails, the previous parameter list is attempted, permitting compatibility + with Runner classes that don't accept stdout as a parameter. + (Robert Collins) + * The ``ExtendedToStreamDecorator`` now handles content objects with one less + packet - the last packet of the source content is sent with EOF set rather + than an empty packet with EOF set being sent after the last packet of the + source content. (Robert Collins) + * Error if ``setUp`` or ``tearDown`` are called twice. + (Robert Collins, #882884) + * Make testtools compatible with the ``unittest.expectedFailure`` decorator in + Python 3.4. (Thomi Richards) + ------------------------------------------------------------------- Wed Jan 29 12:31:27 UTC 2014 - dmueller@suse.com diff --git a/python-testtools.spec b/python-testtools.spec index c3b7ce6..ac2bb89 100644 --- a/python-testtools.spec +++ b/python-testtools.spec @@ -21,7 +21,7 @@ %bcond_with tests Name: python-testtools -Version: 0.9.35 +Version: 1.1.0 Release: 0 Summary: Extensions to the Python Standard Library Unit Testing Framework License: MIT diff --git a/testtools-0.9.35.tar.gz b/testtools-0.9.35.tar.gz deleted file mode 100644 index c172392..0000000 --- a/testtools-0.9.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5520257639d94ed309b15cda84dfe6fc759fe0e153b35c7b6e681385b55e1778 -size 195678 diff --git a/testtools-1.1.0.tar.gz b/testtools-1.1.0.tar.gz new file mode 100644 index 0000000..07629a3 --- /dev/null +++ b/testtools-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61f237050738995d43cbda9f6073afed8ee5c287f38080510a8d8dfe0b6cfc53 +size 206864