commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2020-06-21 18:50:26 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new.3606 (New) Package is "python-testtools" Sun Jun 21 18:50:26 2020 rev:27 rq:813502 version:2.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2020-03-27 00:26:01.704279021 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new.3606/python-testtools.changes 2020-06-21 19:06:39.121054827 +0200 @@ -1,0 +2,13 @@ +Thu Jun 11 08:21:52 UTC 2020 - pgaj...@suse.com + +- move testsuite run to main package, remove -doc +- added patches + unittest2 is not neccessary to run testsuite + + python-testtools-no-unittest2.patch + +--- +Tue Jun 9 09:31:13 UTC 2020 - pgaj...@suse.com + +- remove unittest2 runtime dependency + +--- Old: python-testtools-doc.changes python-testtools-doc.spec New: python-testtools-no-unittest2.patch Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.M22F2j/_old 2020-06-21 19:06:39.545056204 +0200 +++ /var/tmp/diff_new_pack.M22F2j/_new 2020-06-21 19:06:39.545056204 +0200 @@ -17,7 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-testtools +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-testtools%{psuffix} Version:2.4.0 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework @@ -25,7 +33,10 @@ Group: Development/Languages/Python URL:https://github.com/testing-cabal/testtools Source: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz -BuildRequires: %{python_module extras >= 1.0.0} +# unittest2 is not neccessary to run testsuite +# removing unittest2 entirely: +# https://github.com/testing-cabal/testtools/pull/277 +Patch0: python-testtools-no-unittest2.patch BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -35,8 +46,14 @@ Requires: python-python-mimeparse Requires: python-six >= 1.4.0 Requires: python-traceback2 -Requires: python-unittest2 >= 1.1.0 BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module extras >= 1.0.0} +BuildRequires: %{python_module python-mimeparse} +BuildRequires: %{python_module six} +BuildRequires: %{python_module testscenarios} +BuildRequires: %{python_module traceback2} +%endif %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: python-fixtures >= 1.3.0 %endif @@ -50,18 +67,31 @@ %prep %setup -q -n testtools-%{version} +%patch0 -p1 +sed -i '/unittest2/d' requirements.txt setup.cfg +%if !%{with test} %build %python_build +%endif +%if !%{with test} %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif + +%if %{with test} +%check +%python_exec -m testtools.run testtools.tests.test_suite +%endif +%if !%{with test} %files %{python_files} %license LICENSE %doc NEWS README.rst %{python_sitelib}/testtools %{python_sitelib}/testtools-%{version}-py*.egg-info +%endif %changelog ++ python-testtools-no-unittest2.patch ++ Index: testtools-2.4.0/testtools/tests/twistedsupport/test_matchers.py === --- testtools-2.4.0.orig/testtools/tests/twistedsupport/test_matchers.py 2018-04-05 01:27:14.0 +0200 +++ testtools-2.4.0/testtools/tests/twistedsupport/test_matchers.py 2020-06-11 11:53:14.265535365 +0200 @@ -205,5 +205,10 @@ class FailureResultTests(NeedsTwistedTes def test_suite(): -from unittest2 import TestLoader, TestSuite +from extras import try_imports +try: +import unittest2 as unittest +except ImportError: +import unittest +from unittest import TestLoader, TestSuite return TestLoader().loadTestsFromName(__name__) Index: testtools-2.4.0/testtools/tests/twistedsupport/test_deferred.py === --- testtools-2.4.0.orig/testtools/tests/twistedsupport/test_deferred.py 2018-04-05 01:27:14.0 +0200 +++ testtools-2.4.0/testtools/tests/twistedsupport/test_deferred.py 2020-06-11 11:55:46.398407913 +0200 @@ -52,5 +52,9 @@ class TestExtract
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2020-03-27 00:25:59 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new.3160 (New) Package is "python-testtools" Fri Mar 27 00:25:59 2020 rev:26 rq:785593 version:2.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2019-11-04 17:06:19.572255987 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new.3160/python-testtools.changes 2020-03-27 00:26:01.704279021 +0100 @@ -1,0 +2,23 @@ +Mon Mar 16 10:57:59 UTC 2020 - Dirk Mueller + +- update to 2.4.0: + * Release 2.4.0 + * Add myself to contributors list + * Add support for Python 3.7 and 3.8 + * Cache pip directory + * Test CI on PyPy3 + * Tell pip not to install for Python 3.4 + * Drop support for EOL Python 3.4 + * Extra space expected in PyPy output + * PyCharm IDE unittest detection compatibility fix + * Don't use eval() + * Fix the tests on Python 3.7 + * Drop support for EOL Python 3.3 + * Ignore IDE metadata + * Update classifiers + * Remove old Python 2.6 code + * Spelling fixes (#261) + * Python 3.6 invalid escape sequence deprecation fixes (#262) +- remove testtools-py37.patch: merged upstream + +--- Old: testtools-2.3.0.tar.gz testtools-py37.patch New: testtools-2.4.0.tar.gz Other differences: -- ++ python-testtools-doc.spec ++ --- /var/tmp/diff_new_pack.u41wLE/_old 2020-03-27 00:26:02.596279472 +0100 +++ /var/tmp/diff_new_pack.u41wLE/_new 2020-03-27 00:26:02.600279474 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools-doc # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-testtools-doc -Version:2.3.0 +Version:2.4.0 Release:0 Summary:Documentation for python-testtools License:MIT Group: Documentation/HTML URL:https://launchpad.net/testtools Source: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz -Patch0: testtools-py37.patch BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testtools = %{version}} BuildRequires: fdupes @@ -40,7 +39,6 @@ %prep %setup -q -n testtools-%{version} -%patch0 -p1 %build python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.u41wLE/_old 2020-03-27 00:26:02.628279489 +0100 +++ /var/tmp/diff_new_pack.u41wLE/_new 2020-03-27 00:26:02.632279490 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-testtools -Version:2.3.0 +Version:2.4.0 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT Group: Development/Languages/Python URL:https://github.com/testing-cabal/testtools Source: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz -Patch0: testtools-py37.patch BuildRequires: %{python_module extras >= 1.0.0} BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} @@ -51,7 +50,6 @@ %prep %setup -q -n testtools-%{version} -%patch0 -p1 %build %python_build ++ testtools-2.3.0.tar.gz -> testtools-2.4.0.tar.gz ++ 2165 lines of diff (skipped)
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2019-11-04 17:06:17 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new.2990 (New) Package is "python-testtools" Mon Nov 4 17:06:17 2019 rev:25 rq:739072 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools-doc.changes 2018-08-15 10:31:03.715493720 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new.2990/python-testtools-doc.changes 2019-11-04 17:06:19.400255803 +0100 @@ -1,0 +2,5 @@ +Mon Oct 14 16:46:45 CEST 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2018-08-15 10:31:05.503496950 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new.2990/python-testtools.changes 2019-11-04 17:06:19.572255987 +0100 @@ -1,0 +2,5 @@ +Mon Oct 14 16:47:02 CEST 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Other differences: -- ++ python-testtools-doc.spec ++ --- /var/tmp/diff_new_pack.my7EKO/_old 2019-11-04 17:06:20.400256871 +0100 +++ /var/tmp/diff_new_pack.my7EKO/_new 2019-11-04 17:06:20.416256889 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools-doc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.my7EKO/_old 2019-11-04 17:06:20.452256927 +0100 +++ /var/tmp/diff_new_pack.my7EKO/_new 2019-11-04 17:06:20.456256932 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -53,13 +53,12 @@ %setup -q -n testtools-%{version} %patch0 -p1 - %build %python_build %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2018-08-15 10:30:55 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Wed Aug 15 10:30:55 2018 rev:24 rq:628734 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools-doc.changes 2017-07-11 08:24:57.530950005 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools-doc.changes 2018-08-15 10:31:03.715493720 +0200 @@ -1,0 +2,5 @@ +Sat Aug 11 08:04:56 UTC 2018 - tchva...@suse.com + +- Really run the tests + +--- --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2018-03-09 10:45:54.344169940 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2018-08-15 10:31:05.503496950 +0200 @@ -1,0 +2,6 @@ +Fri Aug 10 11:27:08 UTC 2018 - tchva...@suse.com + +- Add patch to build with python 3.7: + * testtools-py37.patch + +--- New: testtools-py37.patch Other differences: -- ++ python-testtools-doc.spec ++ --- /var/tmp/diff_new_pack.FJWuD8/_old 2018-08-15 10:31:07.687500894 +0200 +++ /var/tmp/diff_new_pack.FJWuD8/_new 2018-08-15 10:31:07.691500902 +0200 @@ -23,21 +23,16 @@ Summary:Documentation for python-testtools License:MIT Group: Documentation/HTML -Url:https://launchpad.net/testtools -Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz +URL:https://launchpad.net/testtools +Source: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz +Patch0: testtools-py37.patch +BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testtools = %{version}} -BuildRequires: python-rpm-macros -%if %{with tests} -# Test requirement -BuildRequires: %{python_module testscenarios = %{version}} -BuildRequires: %{python_module unittest2 >= 0.8.0} -%endif -# Documentation requirements: BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx Provides: python2-testtools-doc = %{version} Provides: python3-testtools-doc = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -45,6 +40,7 @@ %prep %setup -q -n testtools-%{version} +%patch0 -p1 %build python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo @@ -54,16 +50,11 @@ cp -r build/sphinx/html %{buildroot}%{_docdir}/python-testtools/ %fdupes %{buildroot}%{_docdir} -# A build cycle exists between python-extras and python-testtools. -# Doing the tests in a separate package avoids this cycle. -%if %{with tests} %check -%{python_exec} -m testtools.run testtools.tests.test_suite -%endif +%python_exec -m testtools.run testtools.tests.test_suite %files -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %{_docdir}/python-testtools/ %changelog ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.FJWuD8/_old 2018-08-15 10:31:07.707500931 +0200 +++ /var/tmp/diff_new_pack.FJWuD8/_new 2018-08-15 10:31:07.711500938 +0200 @@ -23,9 +23,9 @@ Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT Group: Development/Languages/Python -Url:https://launchpad.net/testtools -Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL:https://github.com/testing-cabal/testtools +Source: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz +Patch0: testtools-py37.patch BuildRequires: %{python_module extras >= 1.0.0} BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} @@ -36,12 +36,11 @@ Requires: python-python-mimeparse Requires: python-six >= 1.4.0 Requires: python-traceback2 -Requires: python-unittest2 >= 1.0.0 +Requires: python-unittest2 >= 1.1.0 +BuildArch: noarch %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: python-fixtures >= 1.3.0 %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -52,6 +51,8 @@ %prep %setup -q -n testtools-%{version} +%patch0 -p1 + %build %python_build @@ -61,8 +62,8 @@ %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,ro
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2018-03-09 10:45:29 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Fri Mar 9 10:45:29 2018 rev:23 rq:584290 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2018-03-05 13:37:05.173618256 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2018-03-09 10:45:54.344169940 +0100 @@ -1,0 +2,5 @@ +Thu Mar 8 10:17:39 UTC 2018 - apla...@suse.com + +- Allows Recommends and Suggest in Fedora + +--- Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.vyD0zc/_old 2018-03-09 10:45:55.780118218 +0100 +++ /var/tmp/diff_new_pack.vyD0zc/_new 2018-03-09 10:45:55.784118074 +0100 @@ -37,7 +37,7 @@ Requires: python-six >= 1.4.0 Requires: python-traceback2 Requires: python-unittest2 >= 1.0.0 -%if 0%{?suse_version} >= 1000 +%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: python-fixtures >= 1.3.0 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2018-03-05 13:36:58 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Mon Mar 5 13:36:58 2018 rev:22 rq:580793 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2017-07-11 08:24:57.554946620 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2018-03-05 13:37:05.173618256 +0100 @@ -1,0 +2,5 @@ +Tue Feb 27 18:29:42 UTC 2018 - apla...@suse.com + +- Recommends only for SUSE + +--- Other differences: -- ++ python-testtools-doc.spec ++ --- /var/tmp/diff_new_pack.S25D7S/_old 2018-03-05 13:37:06.417573240 +0100 +++ /var/tmp/diff_new_pack.S25D7S/_new 2018-03-05 13:37:06.421573095 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools-doc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.S25D7S/_old 2018-03-05 13:37:06.437572516 +0100 +++ /var/tmp/diff_new_pack.S25D7S/_new 2018-03-05 13:37:06.441572372 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,7 +37,9 @@ Requires: python-six >= 1.4.0 Requires: python-traceback2 Requires: python-unittest2 >= 1.0.0 +%if 0%{?suse_version} >= 1000 Recommends: python-fixtures >= 1.3.0 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2017-07-11 08:24:56 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Tue Jul 11 08:24:56 2017 rev:21 rq:507964 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools-doc.changes 2017-05-06 18:26:59.133797562 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools-doc.changes 2017-07-11 08:24:57.530950005 +0200 @@ -1,0 +2,13 @@ +Tue Jul 4 04:07:32 UTC 2017 - tbecht...@suse.com + +- update to 2.3.0: + * Release 2.3.0 + * Add ResourcedToStreamDecorator test result decorator for testresources integration (#243) + * Make KeysEqual usable with no arguments, i.e. match a dict with no keys. (#241) + * Add testtools.assertions to the documented API modules (#257) + * Add Python 3.6 to the list of Travis targets (#255) + * Don't add file details without content (#252) + * Don't run Sphinx on Travis Python 3.3 target (#250) + * Make twistedsupport and tests work on Python 3 + +--- python-testtools.changes: same change Old: testtools-2.2.0.tar.gz New: testtools-2.3.0.tar.gz Other differences: -- ++ python-testtools-doc.spec ++ --- /var/tmp/diff_new_pack.i0kKrX/_old 2017-07-11 08:24:58.322838315 +0200 +++ /var/tmp/diff_new_pack.i0kKrX/_new 2017-07-11 08:24:58.326837751 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-testtools-doc -Version:2.2.0 +Version:2.3.0 Release:0 Summary:Documentation for python-testtools License:MIT python-testtools.spec: same change ++ testtools-2.2.0.tar.gz -> testtools-2.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-2.2.0/.travis.yml new/testtools-2.3.0/.travis.yml --- old/testtools-2.2.0/.travis.yml 2016-02-29 00:17:04.0 +0100 +++ new/testtools-2.3.0/.travis.yml 2017-02-22 18:00:11.0 +0100 @@ -5,25 +5,16 @@ - "3.3" - "3.4" - "3.5" + - "3.6" - "pypy" -# Twisted tests currently only work on Python 2. -matrix: - include: -- python: "2.7" - env: TWISTED_REQ="Twisted==13.0.0" -- python: "2.7" - env: TWISTED_REQ="Twisted" -- python: "pypy" - env: TWISTED_REQ="Twisted==13.0.0" -- python: "pypy" - env: TWISTED_REQ="Twisted" - install: - pip install -U pip wheel setuptools - - pip install sphinx $TWISTED_REQ + - pip install sphinx Twisted - pip install .[test] script: - python -m testtools.run testtools.tests.test_suite + # Sphinx only supports 2.7 or >= 3.4 + - if [ ${TRAVIS_PYTHON_VERSION} = "3.3" ]; then travis_terminate 0; fi - make clean-sphinx docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-2.2.0/AUTHORS new/testtools-2.3.0/AUTHORS --- old/testtools-2.2.0/AUTHORS 2016-05-19 01:42:20.0 +0200 +++ new/testtools-2.3.0/AUTHORS 2017-05-11 15:48:49.0 +0200 @@ -15,7 +15,11 @@ Daniel Watkins Elliot Murphy Elliot Murphy +Free Ekanayaka +Free Ekanayaka +Free Ekanayaka Gavin Panella +Gavin Panella Graham Binns James Westby Jamu Kakar @@ -42,6 +46,7 @@ Robert Collins Thomas Bechtold Thomas Herve +Thomas Hervé Thomi Richards Thomi Richards Tres Seaver diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-2.2.0/ChangeLog new/testtools-2.3.0/ChangeLog --- old/testtools-2.2.0/ChangeLog 2016-05-19 01:42:20.0 +0200 +++ new/testtools-2.3.0/ChangeLog 2017-05-11 15:48:49.0 +0200 @@ -1,6 +1,18 @@ CHANGES === +2.3.0 +- + +* Release 2.3.0 +* Add ResourcedToStreamDecorator test result decorator for testresources integration (#243) +* Make KeysEqual usable with no arguments, i.e. match a dict with no keys. (#241) +* Add testtools.assertions to the documented API modules (#257) +* Add Python 3.6 to the list of Travis targets (#255) +* Don't add file details without content (#252) +* Don't run Sphinx on Travis Python 3.3 target (#250) +* Make twistedsupport and tests work on Python 3 + 2.2.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-2.2.0/NEWS new/testtools-2.3.0/NEWS --- old/testtools-2.2.0/NEWS2016-05-19 01:41:38.0 +0200 +++ new/testtools-2.3.0/NEWS2017-05-11 15:44:09.0 +0200 @@ -3,8 +3,25 @@ Changes and improvement
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2017-05-31 12:19:28 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Wed May 31 12:19:28 2017 rev:20 rq:499451 version:2.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2017-05-22 18:08:26.773874119 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2017-05-31 12:20:10.932673507 +0200 @@ -1,0 +2,6 @@ +Mon May 22 08:08:02 UTC 2017 - tbecht...@suse.com + +- Revert "Require python-unittest2 only for python2". We have now + a python3-unittest2 package which should be used. + +--- Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.ty3VZL/_old 2017-05-31 12:20:12.820407024 +0200 +++ /var/tmp/diff_new_pack.ty3VZL/_new 2017-05-31 12:20:12.820407024 +0200 @@ -36,9 +36,7 @@ Requires: python-python-mimeparse Requires: python-six >= 1.4.0 Requires: python-traceback2 -%ifpython2 Requires: python-unittest2 >= 1.0.0 -%endif Recommends: python-fixtures >= 1.3.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2017-05-22 18:08:25 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Mon May 22 18:08:25 2017 rev:19 rq:497138 version:2.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2017-05-06 18:26:59.381762572 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2017-05-22 18:08:26.773874119 +0200 @@ -1,0 +2,5 @@ +Mon May 22 06:27:28 UTC 2017 - tbecht...@suse.com + +- Require python-unittest2 only for python2 + +--- Other differences: -- ++ python-testtools-doc.spec ++ --- /var/tmp/diff_new_pack.zdxRBn/_old 2017-05-22 18:08:27.369790121 +0200 +++ /var/tmp/diff_new_pack.zdxRBn/_new 2017-05-22 18:08:27.369790121 +0200 @@ -25,8 +25,8 @@ Group: Documentation/HTML Url:https://launchpad.net/testtools Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module testtools = %{version}} +BuildRequires: python-rpm-macros %if %{with tests} # Test requirement BuildRequires: %{python_module testscenarios = %{version}} @@ -66,5 +66,4 @@ %doc LICENSE %{_docdir}/python-testtools/ - %changelog ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.zdxRBn/_old 2017-05-22 18:08:27.389787303 +0200 +++ /var/tmp/diff_new_pack.zdxRBn/_new 2017-05-22 18:08:27.389787303 +0200 @@ -25,18 +25,20 @@ Group: Development/Languages/Python Url:https://launchpad.net/testtools Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pbr} BuildRequires: %{python_module extras >= 1.0.0} +BuildRequires: %{python_module pbr} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-extras >= 1.0.0 Requires: python-pbr >= 0.11 Requires: python-python-mimeparse Requires: python-six >= 1.4.0 Requires: python-traceback2 +%ifpython2 Requires: python-unittest2 >= 1.0.0 +%endif Recommends: python-fixtures >= 1.3.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2017-05-06 18:26:54 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Sat May 6 18:26:54 2017 rev:18 rq:487995 version:2.2.0 Changes: New Changes file: --- /dev/null 2017-03-01 00:40:19.279048016 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools-doc.changes 2017-05-06 18:26:59.133797562 +0200 @@ -0,0 +1,698 @@ +--- +Fri Apr 14 16:41:39 UTC 2017 - toddrme2...@gmail.com + +- Use singlespec macros where possible to simplify spec file. + +--- +Sat Apr 8 19:29:56 UTC 2017 - toddrme2...@gmail.com + +- Split documentation and tests into separate .spec file to avoid + dependency cycle with python-extras/python-testrepositories. + +--- +Sun Apr 2 09:48:51 UTC 2017 - aloi...@gmx.com + +- Converted to single-spec +- Added doc subpackage + +--- +Mon Feb 27 07:31:26 UTC 2017 - shshyukr...@suse.com + +- BuildRequires also using extras>=1.0.0 + +--- +Thu Sep 1 12:43:29 UTC 2016 - tbecht...@suse.com + +- Use pypi.io as Source url + +--- +Tue Aug 30 11:41:55 UTC 2016 - tbecht...@suse.com + +- update to 2.2.0: + * Release 2.2.0 + * Depend on the extras 1.0.0 release + * Unbreak fixtures test suite / use of gather_details + * UTF-8 encode Twisted logs (allenap) + * Use inlineCallbacks instead of deferredGenerator + * Fix _lp_release: NEXT is case sensitive + * Release 2.1.0 + * Correct docs for skip deprecation + * Add matchers for detecting emitted warnings + * Revert usage of pyrsistent + * Add unique_text_generator + * Become compatible with newer Fixtures _setUp() API + * Better handling of KeyboardInterrupt + * Fix example in docstring for `failed` + * Move all Twisted code to twistedsupport package + * Revert "Move all Twisted code to twistedsupport package" + * Move all Twisted code to twistedsupport package + * Add Always & Never matchers + * Support TestResults without stop/shouldStop + * Stop using deprecated `skip()` internally + * Release 2.0.0 + * Options for logging in AsynchronousDeferredRunTest + * Twisted tests now pass under --debug-stacktraces + * Decouple log handling from Deferred wrangling + * Fix typo: flexability + * Review tweaks + * Drop support for Python 2.6 and 3.2 + * Release 1.9.0 + * Missed one + * 19.4.1 refers to importlib machinery. Avoid that + * See if setuptools 19.5 is bad + * PIP_VERSION is used by pip itself + * Correct spelling of 'less than 8', maybe + * Use only pip 7.* on pypy3 & py3.2 + * Longer timeout not necessary + * NEWS update + * Handle case where Deferred fires after timeout + * Explicitly separate fake stop method + * Lint & copyright + * NO_RESULT -> has_no_result + * Make twistedsupport a package + * Rename `successful` to `succeeded` + * Improve NEWS + * Conditionally import matchers + * Use non-inplace install and add a comment + * New module for twisted support code + * Minor documentation tweaks + * Make no_result a constant + * Style & documentation tweaks from review + * Review tweaks + * Import extract_result from correct location + * expectThat works under AsynchronousDeferredRunTest + * Correct string literal syntax + * Avoid .format + * Give up on some TODOs + * Maybe we need to install our thing? + * Add requirements for readthedocs + * Move non-matcher code to _deferred + * Nicer links + * Link to Twisted API docs + * More todos + * Documentation with examples + * Pass the Deferred to the handlers + * Docstring formatting + * Use _on_deferred_result in _NoResult + * Make _on_deferred_result transparent to Deferred + * Extract common Deferred logic + * Use same error messages as Twisted + * Matcher for Deferreds that have failed + * TODOs & XXXs + * successResultOf equivalent + * Docstring formatting + * Docstring + * Move formatting to exception + * Extract `extract_result` + * Matcher for no result + * Actually use `skipException` + * NEWS update + * Suppress skip traceback based on skipException + * Deprecate Python 2.6 + * Actually use pformat in errors + * Deterministic test + * NEWS update + * NEWS update + * Factor out counting + * ids has no apostrophe + * Lint + * Collect all duplicate test id's before raise + * Document checking release milestone before release + * Don't
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2017-04-06 11:00:20 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Thu Apr 6 11:00:20 2017 rev:17 rq:461309 version:2.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2016-09-28 11:30:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2017-04-06 11:00:23.130548393 +0200 @@ -1,0 +2,5 @@ +Mon Feb 27 07:31:26 UTC 2017 - shshyukr...@suse.com + +- BuildRequires also using extras>=1.0.0 + +--- Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.xzBxbw/_old 2017-04-06 11:00:25.44499 +0200 +++ /var/tmp/diff_new_pack.xzBxbw/_new 2017-04-06 11:00:25.426223935 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-testtools # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,7 @@ Url:https://launchpad.net/testtools Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz BuildRequires: python-devel -BuildRequires: python-extras +BuildRequires: python-extras >= 1.0.0 BuildRequires: python-python-mimeparse BuildRequires: python-unittest2 >= 0.8.0 # Documentation requirements: @@ -37,7 +37,6 @@ Requires: python-extras >= 1.0.0 Requires: python-fixtures >= 1.3.0 Requires: python-python-mimeparse -Requires: python-python-mimeparse Requires: python-six >= 1.4.0 Requires: python-unittest2 >= 1.0.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2016-09-28 11:30:24 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2014-12-09 09:14:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2016-09-28 11:30:25.0 +0200 @@ -1,0 +2,216 @@ +Thu Sep 1 12:43:29 UTC 2016 - tbecht...@suse.com + +- Use pypi.io as Source url + +--- +Tue Aug 30 11:41:55 UTC 2016 - tbecht...@suse.com + +- update to 2.2.0: + * Release 2.2.0 + * Depend on the extras 1.0.0 release + * Unbreak fixtures test suite / use of gather_details + * UTF-8 encode Twisted logs (allenap) + * Use inlineCallbacks instead of deferredGenerator + * Fix _lp_release: NEXT is case sensitive + * Release 2.1.0 + * Correct docs for skip deprecation + * Add matchers for detecting emitted warnings + * Revert usage of pyrsistent + * Add unique_text_generator + * Become compatible with newer Fixtures _setUp() API + * Better handling of KeyboardInterrupt + * Fix example in docstring for `failed` + * Move all Twisted code to twistedsupport package + * Revert "Move all Twisted code to twistedsupport package" + * Move all Twisted code to twistedsupport package + * Add Always & Never matchers + * Support TestResults without stop/shouldStop + * Stop using deprecated `skip()` internally + * Release 2.0.0 + * Options for logging in AsynchronousDeferredRunTest + * Twisted tests now pass under --debug-stacktraces + * Decouple log handling from Deferred wrangling + * Fix typo: flexability + * Review tweaks + * Drop support for Python 2.6 and 3.2 + * Release 1.9.0 + * Missed one + * 19.4.1 refers to importlib machinery. Avoid that + * See if setuptools 19.5 is bad + * PIP_VERSION is used by pip itself + * Correct spelling of 'less than 8', maybe + * Use only pip 7.* on pypy3 & py3.2 + * Longer timeout not necessary + * NEWS update + * Handle case where Deferred fires after timeout + * Explicitly separate fake stop method + * Lint & copyright + * NO_RESULT -> has_no_result + * Make twistedsupport a package + * Rename `successful` to `succeeded` + * Improve NEWS + * Conditionally import matchers + * Use non-inplace install and add a comment + * New module for twisted support code + * Minor documentation tweaks + * Make no_result a constant + * Style & documentation tweaks from review + * Review tweaks + * Import extract_result from correct location + * expectThat works under AsynchronousDeferredRunTest + * Correct string literal syntax + * Avoid .format + * Give up on some TODOs + * Maybe we need to install our thing? + * Add requirements for readthedocs + * Move non-matcher code to _deferred + * Nicer links + * Link to Twisted API docs + * More todos + * Documentation with examples + * Pass the Deferred to the handlers + * Docstring formatting + * Use _on_deferred_result in _NoResult + * Make _on_deferred_result transparent to Deferred + * Extract common Deferred logic + * Use same error messages as Twisted + * Matcher for Deferreds that have failed + * TODOs & XXXs + * successResultOf equivalent + * Docstring formatting + * Docstring + * Move formatting to exception + * Extract `extract_result` + * Matcher for no result + * Actually use `skipException` + * NEWS update + * Suppress skip traceback based on skipException + * Deprecate Python 2.6 + * Actually use pformat in errors + * Deterministic test + * NEWS update + * NEWS update + * Factor out counting + * ids has no apostrophe + * Lint + * Collect all duplicate test id's before raise + * Document checking release milestone before release + * Don't need our own assertRaisesRegexp + * Clarify the tests + * Add assertRaisesRegexp method + * Document early evaluation of details + * Update NEWS + * Deprecate TestCase.skip + * Deprecate _BinaryMismatch.{expected,observed} + * Make sure reference and actual align + * Put expected on the right for binary mismatch + * Fix typo + * Support Python 3.5, announce deprecation 3.2 + * API docs for deferredruntest + * Need Deferred reference + * Remove scare warnings from deferredruntest + * Documentation tweaks + * Move Twisted docs to separate file + * Better error message for MatchesListwise + * NEWS update + * Clarify some things + * Move _cleanups reset to _reset + * Rewrite patch tests using make_test_case + * `throw` helper + * Rewrite addCleanup tests in terms of make_test_case + * Use method for value, to avoid `self` weirdness + * Move useful
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2014-12-09 09:14:26 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2014-09-17 17:27:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2014-12-09 09:14:02.0 +0100 @@ -1,0 +2,39 @@ +Mon Dec 1 22:48:47 UTC 2014 - dmuel...@suse.com + +- fix typo in last change + +--- +Mon Dec 1 17:04:18 UTC 2014 - rha...@suse.com + +- Update to version 1.5.0: + * When an import error happens ``testtools.run`` will now show the full +error rather than just the name of the module that failed to import. +(Robert Collins) + * ``testtools.TestCase`` now inherits from unittest2.TestCase, which +provides a ``setUpClass`` for upcalls on Python 2.6. +(Robert Collins, #1393283) + * Fixed our setup.py to use setup_requires to ensure the import dependencies +for testtools are present before setup.py runs (as setup.py imports testtools +to read out the version number). (Robert Collins) + * Support setUpClass skipping with self.skipException. Previously this worked +with unittest from 2.7 and above but was not supported by testtools - it was +a happy accident. Since we now hard depend on unittest2, we need to invert +our exception lookup priorities to support it. Regular skips done through +raise self.skipException will continue to work, since they were always caught +in our code - its because the suite type being used to implement setUpClass +has changed that an issue occured. +(Robert Collins, #1393068) + * Correctly express our unittest2 dependency: we don't work with old releases. +(Robert Collins) + * Depends on unittest2 for discovery functionality and the ``TestProgram`` base +class. This brings in many fixes made to discovery where previously we were +only using the discovery package or the version in the release of Python +that the test execution was occuring on. (Robert Collins, #1271133) + * Fixed unit tests which were failing under pypy due to a change in the way +pypy formats tracebacks. (Thomi Richards) + * Fixed the testtools test suite to run correctly when run via ``unit2`` +or ``testtools.run discover``. + * Make `testtools.content.text_content` error if anything other than text +is given as content. (Thomi Richards) + +--- Old: testtools-1.1.0.tar.gz New: testtools-1.5.0.tar.gz Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.J454HH/_old 2014-12-09 09:14:03.0 +0100 +++ /var/tmp/diff_new_pack.J454HH/_new 2014-12-09 09:14:03.0 +0100 @@ -21,7 +21,7 @@ %bcond_with tests Name: python-testtools -Version:1.1.0 +Version:1.5.0 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT @@ -29,15 +29,14 @@ Url:https://launchpad.net/testtools Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz BuildRequires: python-devel -# Documentation requirements: -BuildRequires: python-Sphinx -# Test requirements: -%if %{with tests} BuildRequires: python-extras BuildRequires: python-python-mimeparse -%endif +BuildRequires: python-unittest2 >= 0.8.0 +# Documentation requirements: +BuildRequires: python-Sphinx Requires: python-extras Requires: python-python-mimeparse +Requires: python-unittest2 >= 0.8.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} ++ testtools-1.1.0.tar.gz -> testtools-1.5.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-1.1.0/Makefile new/testtools-1.5.0/Makefile --- old/testtools-1.1.0/Makefile2013-02-05 10:58:30.0 +0100 +++ new/testtools-1.5.0/Makefile2014-10-31 03:10:59.0 +0100 @@ -21,11 +21,11 @@ -rm MANIFEST release: - ./setup.py sdist upload --sign + ./setup.py sdist bdist_wheel upload --sign $(PYTHON) scripts/_lp_release.py snapshot: prerelease - ./setup.py sdist + ./setup.py sdist bdist_wheel ### Documen
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2014-09-17 17:26:56 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2014-01-29 22:22:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2014-09-17 17:27:24.0 +0200 @@ -1,0 +2,43 @@ +Tue Sep 16 06:17:46 UTC 2014 - tbecht...@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) + +--- Old: testtools-0.9.35.tar.gz New: testtools-1.1.0.tar.gz Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.SOm1vk/_old 2014-09-17 17:27:25.0 +0200 +++ /var/tmp/diff_new_pack.SOm1vk/_new 2014-09-17 17:27:25.0 +0200 @@ -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 ++ testtools-0.9.35.tar.gz -> testtools-1.1.0.tar.gz ++ 2068 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2014-01-29 22:22:10 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2014-01-16 15:13:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2014-01-29 22:22:11.0 +0100 @@ -1,0 +2,11 @@ +Wed Jan 29 12:31:27 UTC 2014 - dmuel...@suse.com + +- update to 0.9.35: + * Removed a number of code paths where Python 2.4 and Python 2.5 were +explicitly handled. (Daniel Watkins) + * Added the ``testtools.TestCase.expectThat`` method, which implements +delayed assertions. (Thomi Richards) + * Docs are now built as part of the Travis-CI build, reducing the chance of +Read The Docs being broken accidentally. (Daniel Watkins, #1158773) + +--- Old: testtools-0.9.34.tar.gz New: testtools-0.9.35.tar.gz Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.CwiPVL/_old 2014-01-29 22:22:12.0 +0100 +++ /var/tmp/diff_new_pack.CwiPVL/_new 2014-01-29 22:22:12.0 +0100 @@ -21,7 +21,7 @@ %bcond_with tests Name: python-testtools -Version:0.9.34 +Version:0.9.35 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT ++ testtools-0.9.34.tar.gz -> testtools-0.9.35.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-0.9.34/.gitignore new/testtools-0.9.35/.gitignore --- old/testtools-0.9.34/.gitignore 2013-02-15 07:18:19.0 +0100 +++ new/testtools-0.9.35/.gitignore 2014-01-29 10:53:34.0 +0100 @@ -8,6 +8,7 @@ _trial_temp doc/_build .testrepository +.lp_creds ./testtools.egg-info *.pyc *.swp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-0.9.34/NEWS new/testtools-0.9.35/NEWS --- old/testtools-0.9.34/NEWS 2013-11-30 01:57:16.0 +0100 +++ new/testtools-0.9.35/NEWS 2014-01-29 10:59:38.0 +0100 @@ -7,6 +7,24 @@ NEXT +0.9.35 +~~ + +Changes +--- + +* Removed a number of code paths where Python 2.4 and Python 2.5 were + explicitly handled. (Daniel Watkins) + +Improvements + + +* Added the ``testtools.TestCase.expectThat`` method, which implements + delayed assertions. (Thomi Richards) + +* Docs are now built as part of the Travis-CI build, reducing the chance of + Read The Docs being broken accidentally. (Daniel Watkins, #1158773) + 0.9.34 ~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-0.9.34/PKG-INFO new/testtools-0.9.35/PKG-INFO --- old/testtools-0.9.34/PKG-INFO 2013-11-30 02:00:56.0 +0100 +++ new/testtools-0.9.35/PKG-INFO 2014-01-29 11:01:53.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: testtools -Version: 0.9.34 +Version: 0.9.35 Summary: Extensions to the Python standard library unit testing framework Home-page: https://github.com/testing-cabal/testtools Author: Jonathan M. Lange Files old/testtools-0.9.34/doc/.hacking.rst.swp and new/testtools-0.9.35/doc/.hacking.rst.swp differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-0.9.34/doc/for-test-authors.rst new/testtools-0.9.35/doc/for-test-authors.rst --- old/testtools-0.9.34/doc/for-test-authors.rst 2013-11-28 09:28:37.0 +0100 +++ new/testtools-0.9.35/doc/for-test-authors.rst 2014-01-29 10:53:19.0 +0100 @@ -288,6 +288,43 @@ self.assertNotEqual(result, 50) +Delayed Assertions +~~ + +A failure in the ``self.assertThat`` method will immediately fail the test: No +more test code will be run after the assertion failure. + +The ``expectThat`` method behaves the same as ``assertThat`` with one +exception: when failing the test it does so at the end of the test code rather +than when the mismatch is detected. For example:: + + import subprocess + + from testtools import TestCase + from testtools.matchers import Equals + + + class SomeProcessTests(TestCase): + + def test_process_output(self): + process = subprocess.Popen( +["my-app", "/some/path"], +stdout=subprocess.PIPE, +stderr=subprocess.PIPE + ) + + stdout, stderrr = process.communicate() + + self.expectThat(p
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2014-01-16 15:13:12 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-11-18 10:54:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2014-01-16 15:13:13.0 +0100 @@ -1,0 +2,14 @@ +Mon Jan 13 13:44:49 UTC 2014 - dmuel...@suse.com + +- update to 0.9.34: + * Added ability for ``testtools.TestCase`` instances to force a test to + fail, even if no assertions failed. (Thomi Richards) + * Added ``testtools.content.StacktraceContent``, a content object that + automatically creates a ``StackLinesContent`` object containing the current + stack trace. (Thomi Richards) + * ``AnyMatch`` is now exported properly in ``testtools.matchers``. + (Robert Collins, Rob Kennedy, github #44) + * Network tests now bind to 127.0.0.1 to avoid (even temporary) network + visible ports. (Benedikt Morbach, github #46) + +--- @@ -11,0 +26,11 @@ + +--- +Thu Aug 8 13:47:56 UTC 2013 - speili...@suse.com + +- Revert back + +--- +Thu Aug 8 13:22:20 UTC 2013 - speili...@suse.com + +- Totally disable testing to bootstrap ppc64. Actually the build conditional is + supposed to do just that. Old: testtools-0.9.33.tar.gz New: testtools-0.9.34.tar.gz Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.Xqq9DU/_old 2014-01-16 15:13:14.0 +0100 +++ /var/tmp/diff_new_pack.Xqq9DU/_new 2014-01-16 15:13:14.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-testtools # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %bcond_with tests Name: python-testtools -Version:0.9.33 +Version:0.9.34 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT ++ testtools-0.9.33.tar.gz -> testtools-0.9.34.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-0.9.33/NEWS new/testtools-0.9.34/NEWS --- old/testtools-0.9.33/NEWS 2013-11-06 00:25:07.0 +0100 +++ new/testtools-0.9.34/NEWS 2013-11-30 01:57:16.0 +0100 @@ -7,6 +7,41 @@ NEXT +0.9.34 +~~ + +Improvements + + +* Added ability for ``testtools.TestCase`` instances to force a test to + fail, even if no assertions failed. (Thomi Richards) + +* Added ``testtools.content.StacktraceContent``, a content object that + automatically creates a ``StackLinesContent`` object containing the current + stack trace. (Thomi Richards) + +* ``AnyMatch`` is now exported properly in ``testtools.matchers``. + (Robert Collins, Rob Kennedy, github #44) + +* In Python 3.3, if there are duplicate test ids, tests.sort() will + fail and raise TypeError. Detect the duplicate test ids firstly in + sorted_tests() to ensure that all test ids are unique. + (Kui Shi, #1243922) + +* ``json_content`` is now in the ``__all__`` attribute for + ``testtools.content``. (Robert Collins) + +* Network tests now bind to 127.0.0.1 to avoid (even temporary) network + visible ports. (Benedikt Morbach, github #46) + +* Test listing now explicitly indicates by printing 'Failed to import' and + exiting (2) when an import has failed rather than only signalling through the + test name. (Robert Collins, #1245672) + +* ``test_compat.TestDetectEncoding.test_bom`` now works on Python 3.3 - the + corner case with euc_jp is no longer permitted in Python 3.3 so we can + skip it. (Martin [gz], #1251962) + 0.9.33 ~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/testtools-0.9.33/PKG-INFO new/testtools-0.9.34/PKG-INFO --- old/testtools-0.9.33/PKG-INFO 2013-11-06 00:29:12.0 +0100 +++ new/testtools-0.9.34/PKG-INFO 2013-11-30 02:00:56.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: testtools -Version: 0.9.33 +Version: 0.9.34 Summary: Extensions to the Python standard library unit testing framework Home-page: https://github.com/testing-cabal/test
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-11-18 10:54:06 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-06-25 17:24:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-11-18 10:54:07.0 +0100 @@ -1,0 +2,12 @@ +Sun Nov 17 16:48:32 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.9.33 + + Added ``addDetailuniqueName`` method to ``testtools.TestCase`` class. + + Removed some unused code from ``testtools.content.TracebackContent``. + + Added ``testtools.StackLinesContent``: a content object for displaying +pre-processed stack lines. + + ``StreamSummary`` was calculating testsRun incorrectly: ``exists`` status +tests were counted as run tests, but they are not. +- Remove unwanted hidden file from documentation generated with Sphinx + +--- Old: testtools-0.9.32.tar.gz New: testtools-0.9.33.tar.gz Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.X4Fhq8/_old 2013-11-18 10:54:08.0 +0100 +++ /var/tmp/diff_new_pack.X4Fhq8/_new 2013-11-18 10:54:08.0 +0100 @@ -21,7 +21,7 @@ %bcond_with tests Name: python-testtools -Version:0.9.32 +Version:0.9.33 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT @@ -57,6 +57,8 @@ %build python setup.py build python setup.py build_sphinx +# Remove unwanted hidden file +rm build/sphinx/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} ++ testtools-0.9.32.tar.gz -> testtools-0.9.33.tar.gz ++ 2648 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-06-25 17:19:11 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-06-25 06:59:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-06-25 17:24:06.0 +0200 @@ -1,0 +2,6 @@ +Tue Jun 25 11:35:04 UTC 2013 - speili...@suse.com + +- Introduce a build conditional for running tests to break build cycle + with python-extras + +--- Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.GmWm42/_old 2013-06-25 17:24:07.0 +0200 +++ /var/tmp/diff_new_pack.GmWm42/_new 2013-06-25 17:24:07.0 +0200 @@ -16,6 +16,10 @@ # +# A build cycle exists between python-extras and python-testtools. Thus, only +# enable testing with a build conditional (off by default): +%bcond_with tests + Name: python-testtools Version:0.9.32 Release:0 @@ -28,8 +32,10 @@ # Documentation requirements: BuildRequires: python-Sphinx # Test requirements: +%if %{with tests} BuildRequires: python-extras BuildRequires: python-python-mimeparse +%endif Requires: python-extras Requires: python-python-mimeparse BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,9 +46,9 @@ %endif %description -testtools is a set of extensions to the Python standard library's unit testing +testtools is a set of extensions to the Python standard library's unit tests framework. These extensions have been derived from many years of experience -with unit testing in Python and come from many different sources. testtools +with unit tests in Python and come from many different sources. testtools also ports recent unittest changes all the way back to Python 2.4. %prep @@ -55,8 +61,10 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if %{with tests} %check python setup.py test +%endif %files %defattr(-,root,root,-) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-06-25 06:59:39 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-05-07 07:34:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-06-25 06:59:40.0 +0200 @@ -1,0 +2,16 @@ +Fri Jun 21 08:21:16 UTC 2013 - speili...@suse.com + +- Use upstream URL +- Run testsuite +- Update to version 0.9.32: + + Stacktrace filtering no longer hides unittest frames that are surrounded by +user frames. We will reenable this when we figure out a better algorithm for +retaining meaning. (Robert Collins, #1188420) + + The compatibility code for skipped tests with unittest2 was broken. +(Robert Collins, #1190951) + + Various documentation improvements (Clint Byrum, Xiao Hanyu). +- Changes from version 0.9.31: + + ExpectedException now accepts a msg parameter for describing an error, +much the same as assertEquals etc. (Robert Collins) + +--- Old: python3-testtools.changes python3-testtools.spec testtools-0.9.30.tar.gz New: testtools-0.9.32.tar.gz Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.6RHuzG/_old 2013-06-25 06:59:41.0 +0200 +++ /var/tmp/diff_new_pack.6RHuzG/_new 2013-06-25 06:59:41.0 +0200 @@ -17,16 +17,20 @@ Name: python-testtools -Version:0.9.30 +Version:0.9.32 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT Group: Development/Languages/Python Url:https://launchpad.net/testtools Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz -BuildRequires: python-Sphinx BuildRequires: python-devel +# Documentation requirements: +BuildRequires: python-Sphinx +# Test requirements: +BuildRequires: python-extras BuildRequires: python-python-mimeparse +Requires: python-extras Requires: python-python-mimeparse BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -46,18 +50,18 @@ %build python setup.py build -cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation +python setup.py build_sphinx %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -# There is a mistake in setup.cfg; test command has no catch option; disable it for instance -#%check -#python setup.py test +%check +python setup.py test %files %defattr(-,root,root,-) -%doc LICENSE NEWS README.rst doc/_build/html -%{python_sitelib}/testtools* +%doc LICENSE NEWS README.rst build/sphinx/html +%{python_sitelib}/testtools +%{python_sitelib}/testtools-%{version}-py%{py_ver}.egg-info %changelog ++ testtools-0.9.30.tar.gz -> testtools-0.9.32.tar.gz ++ 2139 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-05-07 07:34:13 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-04-26 12:37:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-05-07 07:34:14.0 +0200 @@ -1,0 +2,5 @@ +Mon May 6 11:25:43 UTC 2013 - dmuel...@suse.com + +- add python-mmimeparse dependency + +--- Other differences: -- ++ python-testtools.spec ++ --- /var/tmp/diff_new_pack.ijjIS5/_old 2013-05-07 07:34:15.0 +0200 +++ /var/tmp/diff_new_pack.ijjIS5/_new 2013-05-07 07:34:15.0 +0200 @@ -26,6 +26,8 @@ Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz BuildRequires: python-Sphinx BuildRequires: python-devel +BuildRequires: python-python-mimeparse +Requires: python-python-mimeparse BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-04-26 07:45:12 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-01-20 14:53:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-04-26 07:45:16.0 +0200 @@ -1,0 +2,25 @@ +Tue Apr 23 09:33:35 UTC 2013 - p.drou...@gmail.com + +- Fix source URL; packages are available on https://pypi.python.org + +--- +Mon Apr 22 16:45:07 UTC 2013 - dmuel...@suse.com + +- update to 0.9.30: + A new sort of TestResult, the StreamResult has been added, as a prototype for + a revised standard library test result API. Expect this API to change. + Although we will try to preserve compatibility for early adopters, it is + experimental and we might need to break it if it turns out to be unsuitable. + +--- +Tue Apr 16 11:49:26 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.9.29 + + Added missing build-depends: python3-setuptools, python-setuptools and +python-extras. + + Build-depends: python-fixtures must be >= 0.3.12~ +- Disable test; it seems there is a typo mistake in setup.cfg +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +--- --- /work/SRC/openSUSE:Factory/python-testtools/python3-testtools.changes 2013-01-20 14:53:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python3-testtools.changes 2013-04-26 07:45:16.0 +0200 @@ -2 +2,26 @@ -Tue Jan 15 16:43:43 UTC 2013 - p.drou...@gmail.com +Tue Apr 23 09:33:35 UTC 2013 - p.drou...@gmail.com + +- Fix source URL; packages are available on https://pypi.python.org + +--- +Mon Apr 22 16:45:07 UTC 2013 - dmuel...@suse.com + +- update to 0.9.30: + A new sort of TestResult, the StreamResult has been added, as a prototype for + a revised standard library test result API. Expect this API to change. + Although we will try to preserve compatibility for early adopters, it is + experimental and we might need to break it if it turns out to be unsuitable. + +--- +Tue Apr 16 11:49:26 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.9.29 + + Added missing build-depends: python3-setuptools, python-setuptools and +python-extras. + + Build-depends: python-fixtures must be >= 0.3.12~ +- Disable test; it seems there is a typo mistake in setup.cfg +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +--- +Tue Jan 15 16:43:28 UTC 2013 - p.drou...@gmail.com @@ -4,0 +30,273 @@ + +--- +Mon Jan 14 12:38:00 UTC 2013 - sasc...@suse.de + +- Update to version 0.9.24: + * testtools.run discover will now sort the tests it discovered. This is a +workaround for http://bugs.python.org/issue16709. Non-standard test suites +are preserved, and their sort_tests() method called (if they have such an +attribute). testtools.testsuite.sorted_tests(suite, True) can be used by +such suites to do a local sort. + * ThreadsafeForwardingResult now defines a stub progress method, which +fixes testr run of streams containing progress markers (by discarding the +progress data). +- Changes from version 0.9.23: + * run.TestToolsTestRunner now accepts the verbosity, buffer and failfast +arguments the upstream python TestProgram code wants to give it, making it +possible to support them in a compatible fashion. (Robert Collins) + * testtools.run now supports the -f or --failfast parameter. +Previously it was advertised in the help but ignored. + * AnyMatch added, a new matcher that matches when any item in a collection +matches the given matcher. + * Spelling corrections to documentation. + * TestProgram now has a sane default for its testRunner argument. + * The test suite passes on Python 3 again. +- Changes from version 0.9.22: + * content_from_file and content_from_stream now accept seek_offset and +seek_whence parameters allowing them to be used to grab less than the full +stream, or to be used with StringIO streams. + +--- +Thu Dec 6 11:00:37 UTC 2012 - sasc...@suse.de + +- Cleanup spec file +- Install HTML do
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-01-20 14:53:24 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2013-01-14 22:26:21.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-01-20 14:53:25.0 +0100 @@ -1,0 +2,5 @@ +Tue Jan 15 16:43:28 UTC 2013 - p.drou...@gmail.com + +- Initial python3 support + +--- New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python3-testtools.changes 2013-01-20 14:53:25.0 +0100 @@ -0,0 +1,5 @@ +--- +Tue Jan 15 16:43:43 UTC 2013 - p.drou...@gmail.com + +- Initial python3 support + New: python3-testtools.changes python3-testtools.spec Other differences: -- ++ python3-testtools.spec ++ # # spec file for package python3-testtools # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python3-testtools Version:0.9.24 Release:0 Summary:Extensions to the Python Standard Library Unit Testing Framework License:MIT Group: Development/Languages/Python Url:https://launchpad.net/testtools Source: testtools-%{version}.tar.gz BuildRequires: python-Sphinx BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description testtools is a set of extensions to the Python standard library's unit testing framework. These extensions have been derived from many years of experience with unit testing in Python and come from many different sources. testtools also ports recent unittest changes all the way back to Python 2.4. %prep %setup -q -n testtools-%{version} %build python3 setup.py build cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %check python3 setup.py test %files %defattr(-,root,root,-) %doc LICENSE NEWS README doc/_build/html %{python3_sitelib}/testtools* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2013-01-14 22:26:19 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes 2012-12-07 14:49:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2013-01-14 22:26:21.0 +0100 @@ -1,0 +2,28 @@ +Mon Jan 14 12:38:00 UTC 2013 - sasc...@suse.de + +- Update to version 0.9.24: + * testtools.run discover will now sort the tests it discovered. This is a +workaround for http://bugs.python.org/issue16709. Non-standard test suites +are preserved, and their sort_tests() method called (if they have such an +attribute). testtools.testsuite.sorted_tests(suite, True) can be used by +such suites to do a local sort. + * ThreadsafeForwardingResult now defines a stub progress method, which +fixes testr run of streams containing progress markers (by discarding the +progress data). +- Changes from version 0.9.23: + * run.TestToolsTestRunner now accepts the verbosity, buffer and failfast +arguments the upstream python TestProgram code wants to give it, making it +possible to support them in a compatible fashion. (Robert Collins) + * testtools.run now supports the -f or --failfast parameter. +Previously it was advertised in the help but ignored. + * AnyMatch added, a new matcher that matches when any item in a collection +matches the given matcher. + * Spelling corrections to documentation. + * TestProgram now has a sane default for its testRunner argument. + * The test suite passes on Python 3 again. +- Changes from version 0.9.22: + * content_from_file and content_from_stream now accept seek_offset and +seek_whence parameters allowing them to be used to grab less than the full +stream, or to be used with StringIO streams. + +--- @@ -11 +39 @@ - * ``DirContains`` correctly exposed, after being accidentally hidden in the + * DirContains correctly exposed, after being accidentally hidden in the @@ -15 +43 @@ -- ``MatchesDict``, match every key in a dictionary with a key in a +- MatchesDict, match every key in a dictionary with a key in a @@ -18 +46 @@ -- ``ContainsDict``, every key in a dictionary of matchers must be +- ContainsDict, every key in a dictionary of matchers must be @@ -21 +49 @@ -- ``ContainedByDict``, every key in a dictionary must be found in +- ContainedByDict, every key in a dictionary must be found in @@ -33 +61 @@ - ``testtools.matchers`` package and was thus completely broken. This release + testtools.matchers package and was thus completely broken. This release @@ -39 +67 @@ - * The ``testtools.matchers`` package has been split up. No change to the + * The testtools.matchers package has been split up. No change to the @@ -41 +69 @@ - * ``python -m testtools.run discover . --list`` now works. (Robert Collins) + * python -m testtools.run discover . --list now works. (Robert Collins) @@ -47 +75 @@ - * New content helper, ``json_content`` (Jonathan Lange) + * New content helper, json_content (Jonathan Lange) @@ -49 +77 @@ -* ``ContainsAll`` for asserting one thing is a subset of another +* ContainsAll for asserting one thing is a subset of another @@ -51 +79 @@ -* ``SameMembers`` for asserting two iterators have the same members. +* SameMembers for asserting two iterators have the same members. @@ -59 +87 @@ - * ``PlaceHolder`` and ``ErrorHolder`` now support being given result + * PlaceHolder and ErrorHolder now support being given result @@ -61,3 +89,3 @@ - * ``ErrorHolder`` is now just a function - all the logic is in -``PlaceHolder``. (Robert Collins) - * ``TestResult`` and all other ``TestResult``-like objects in testtools + * ErrorHolder is now just a function - all the logic is in +PlaceHolder. (Robert Collins) + * TestResult and all other TestResult-like objects in testtools @@ -71 +99 @@ - * ``ThreadsafeForwardingResult`` now forwards global tags as test-local + * ThreadsafeForwardingResult now forwards global tags as test-local @@ -77,2 +105,2 @@ - * ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter -that can be used to wrap the ``ThreadsafeForwardingResult``s created by + * ConcurrentTestSuite now takes an optional wrap_result parameter +that can be used to wrap the ThreadsafeForwardingResults created by @@ -80 +108 @@ - * ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to + * Tagger added. It's a new TestResult that tags all tests sent
commit python-testtools for openSUSE:Factory
Hello community, here is the log from the commit of package python-testtools for openSUSE:Factory checked in at 2012-12-07 14:49:44 Comparing /work/SRC/openSUSE:Factory/python-testtools (Old) and /work/SRC/openSUSE:Factory/.python-testtools.new (New) Package is "python-testtools", Maintainer is "" Changes: New Changes file: --- /dev/null 2012-11-30 12:21:47.308011256 +0100 +++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes 2012-12-07 14:49:44.0 +0100 @@ -0,0 +1,245 @@ +--- +Thu Dec 6 11:00:37 UTC 2012 - sasc...@suse.de + +- Cleanup spec file +- Install HTML documentation + +--- +Tue Nov 13 22:06:50 UTC 2012 - jf...@funktronics.ca + +- Update to 0.9.21: + * ``DirContains`` correctly exposed, after being accidentally hidden in the +great matcher re-organization of 0.9.17. (Jonathan Lange) +- 0.9.20 + * New, powerful matchers that match items in a dictionary: +- ``MatchesDict``, match every key in a dictionary with a key in a + dictionary of matchers. For when the set of expected keys is equal to + the set of observed keys. +- ``ContainsDict``, every key in a dictionary of matchers must be + found in a dictionary, and the values for those keys must match. For + when the set of expected keys is a subset of the set of observed keys. +- ``ContainedByDict``, every key in a dictionary must be found in + a dictionary of matchers. For when the set of expected keys is a + superset of the set of observed keys. +The names are a little confusing, sorry. We're still trying to figure out +how to present the concept in the simplest way possible. +- 0.9.19 + * Include the matcher tests in the release, allowing the tests to run and +pass from the release tarball. (Jonathan Lange) + * Fix cosmetic test failures in Python 3.3, introduced during release +0.9.17. (Jonathan Lange) +- 0.9.18 + Due to an oversight, release 0.9.18 did not contain the new + ``testtools.matchers`` package and was thus completely broken. This release + corrects that, returning us all to normality. +- 0.9.17 + This release brings better discover support and Python3.x improvements. + There are still some test failures on Python3.3 but they are cosmetic - the + library is as usable there as on any other Python 3 release. + * The ``testtools.matchers`` package has been split up. No change to the +public interface. (Jonathan Lange) + * ``python -m testtools.run discover . --list`` now works. (Robert Collins) + * Correctly handling of bytes vs text in JSON content type. (Martin [gz]) +- 0.9.16 + This is the first release of testtools to drop support for Python 2.4 and + 2.5. If you need support for either of those versions, please use testtools + 0.9.15. + * New content helper, ``json_content`` (Jonathan Lange) + * New matchers: +* ``ContainsAll`` for asserting one thing is a subset of another + (Raphaël Badin) +* ``SameMembers`` for asserting two iterators have the same members. + (Jonathan Lange) + * Reraising of exceptions in Python 3 is more reliable. (Martin [gz]) + +--- +Wed May 23 21:20:46 UTC 2012 - jf...@funktronics.ca + +- Update to 0.9.15 + * ``PlaceHolder`` and ``ErrorHolder`` now support being given result +details. (Robert Collins) + * ``ErrorHolder`` is now just a function - all the logic is in +``PlaceHolder``. (Robert Collins) + * ``TestResult`` and all other ``TestResult``-like objects in testtools +distinguish between global tags and test-local tags, as per the subunit +specification. (Jonathan Lange) + * This is the **last** release of testtools that supports Python 2.4 or 2.5. +These releases are no longer supported by the Python community and do not +receive security updates. If this affects you, you will need to either +stay on this release or perform your own backports. +(Jonathan Lange, Robert Collins) + * ``ThreadsafeForwardingResult`` now forwards global tags as test-local +tags, making reasoning about the correctness of the multiplexed stream +simpler. This preserves the semantic value (what tags apply to a given +test) while consuming less stream size (as no negative-tag statement is +needed). (Robert Collins, Gary Poster, #986434) + * API documentation corrections. (Raphaël Badin) + * ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter +that can be used to wrap the ``ThreadsafeForwardingResult``s created by +the suite. (Jonathan Lange) + * ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to +it with a particular set of