Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-oslotest for openSUSE:Factory
Hello community,

here is the log from the commit of package python-oslotest for openSUSE:Factory
checked in at 2019-04-12 09:13:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old)
and /work/SRC/openSUSE:Factory/.python-oslotest.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslotest"

Fri Apr 12 09:13:43 2019 rev:17 rq:692871 version:3.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslotest/python-oslotest.changes
2018-10-01 08:18:13.717936745 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslotest.new.27019/python-oslotest.changes
2019-04-12 09:13:45.361652900 +0200
@@ -2 +2,19 @@
-Wed Sep 19 23:12:13 UTC 2018 - cloud-devel@xxxxxxx
+Mon Apr 8 11:06:42 UTC 2019 - cloud-devel@xxxxxxx
+
+- update to version 3.7.1
+ - Add release note link in README
+ - Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR
+ - Change python3.5 job to python3.7 job on Stein+
+ - Change openstack-dev to openstack-discuss
+ - Update hacking version
+ - Update reno for stable/rocky
+ - Fix requirements check ci in oslotest
+ - Fix nits in timeout change
+ - add python 3.6 unit test job
+ - Title underline too long
+ - import zuul job settings from project-config
+ - Use templates for cover and lower-constraints
+ - Don't quote {posargs} in tox.ini
+
+-------------------------------------------------------------------
+Thu Sep 20 22:19:05 UTC 2018 - cloud-devel@xxxxxxx

Old:
----
oslotest-3.6.0.tar.gz

New:
----
oslotest-3.7.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oslotest.spec ++++++
--- /var/tmp/diff_new_pack.xhQSKE/_old 2019-04-12 09:13:45.793653154 +0200
+++ /var/tmp/diff_new_pack.xhQSKE/_new 2019-04-12 09:13:45.797653157 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-oslotest
#
-# 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
@@ -17,16 +17,16 @@


Name: python-oslotest
-Version: 3.6.0
+Version: 3.7.1
Release: 0
Summary: OpenStack test framework
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/oslotest
-Source0:
https://files.pythonhosted.org/packages/source/o/oslotest/oslotest-%{version}.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/o/oslotest/oslotest-3.7.1.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
-BuildRequires: python2-debtcollector
+BuildRequires: python2-debtcollector >= 1.2.0
BuildRequires: python2-fixtures >= 3.0.0
BuildRequires: python2-mock >= 2.0.0
BuildRequires: python2-mox3 >= 0.20.0
@@ -35,7 +35,7 @@
BuildRequires: python2-six >= 1.10.0
BuildRequires: python2-stestr >= 2.0.0
BuildRequires: python2-testtools >= 2.2.0
-BuildRequires: python3-debtcollector
+BuildRequires: python3-debtcollector >= 1.2.0
BuildRequires: python3-devel
BuildRequires: python3-fixtures >= 3.0.0
BuildRequires: python3-mock >= 2.0.0
@@ -45,7 +45,7 @@
BuildRequires: python3-six >= 1.10.0
BuildRequires: python3-stestr >= 2.0.0
BuildRequires: python3-testtools >= 2.2.0
-Requires: python-debtcollector
+Requires: python-debtcollector >= 1.2.0
Requires: python-fixtures >= 3.0.0
Requires: python-mock >= 2.0.0
Requires: python-mox3 >= 0.20.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.xhQSKE/_old 2019-04-12 09:13:45.821653171 +0200
+++ /var/tmp/diff_new_pack.xhQSKE/_new 2019-04-12 09:13:45.821653171 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/oslotest/oslotest.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/oslotest/oslotest.spec.j2</param>
<param name="output-name">python-oslotest.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/oslotest/stable/rocky/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/oslotest/stable/stein/requirements.txt</param>
<param name="changelog-email">cloud-devel@xxxxxxx</param>
<param name="changelog-provider">gh,openstack,oslotest</param>
</service>

++++++ oslotest-3.6.0.tar.gz -> oslotest-3.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/.zuul.yaml
new/oslotest-3.7.1/.zuul.yaml
--- old/oslotest-3.6.0/.zuul.yaml 2018-06-27 10:26:25.000000000 +0200
+++ new/oslotest-3.7.1/.zuul.yaml 2019-02-28 19:02:33.000000000 +0100
@@ -1,7 +1,11 @@
- project:
- check:
- jobs:
- - openstack-tox-lower-constraints
- gate:
- jobs:
- - openstack-tox-lower-constraints
+ templates:
+ - check-requirements
+ - openstack-cover-jobs
+ - openstack-lower-constraints-jobs
+ - openstack-python-jobs
+ - openstack-python36-jobs
+ - openstack-python37-jobs
+ - periodic-stable-jobs
+ - publish-openstack-docs-pti
+ - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/AUTHORS new/oslotest-3.7.1/AUTHORS
--- old/oslotest-3.6.0/AUTHORS 2018-06-27 10:29:32.000000000 +0200
+++ new/oslotest-3.7.1/AUTHORS 2019-02-28 19:05:29.000000000 +0100
@@ -10,6 +10,7 @@
Christian Berendt <berendt@xxxxxxxxxxxxx>
Chuck Short <chuck.short@xxxxxxxxxxxxx>
Claudiu Belu <cbelu@xxxxxxxxxxxxxxxxxxxxxx>
+Corey Bryant <corey.bryant@xxxxxxxxxxxxx>
Danek Duvall <danek.duvall@xxxxxxxxxx>
Davanum Srinivas <davanum@xxxxxxxxx>
Davanum Srinivas <dims@xxxxxxxxxxxxxxxxxx>
@@ -48,13 +49,16 @@
Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Van Hung Pham <hungpv@xxxxxxxxxxxxxx>
Victor Stinner <vstinner@xxxxxxxxxx>
+Vieri <15050873171@xxxxxxx>
Vu Cong Tuan <tuanvc@xxxxxxxxxxxxxx>
+Yikun Jiang <yikunkero@xxxxxxxxx>
Yuriy Taraday <yorik.sar@xxxxxxxxx>
+ZhijunWei <wzj334965317@xxxxxxxxxxx>
Zhongyue Luo <zhongyue.nah@xxxxxxxxx>
-Zuul <zuul@xxxxxxxxxxxxxxxxxxxx>
kavithahr <kavitha.r@xxxxxxxxxxxxxxxxxx>
lingyongxu <lyxu@xxxxxxxxxxxxx>
melissaml <ma.lei@xxxxxxxxxxx>
+qingszhao <zhao.daqing@xxxxxxxxxxx>
ricolin <rico.lin@xxxxxxxxxxxx>
venkatamahesh <venkatamaheshkotha@xxxxxxxxx>
wangqi <wang.qi@xxxxxxxxxxx>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/ChangeLog new/oslotest-3.7.1/ChangeLog
--- old/oslotest-3.6.0/ChangeLog 2018-06-27 10:29:32.000000000 +0200
+++ new/oslotest-3.7.1/ChangeLog 2019-02-28 19:05:29.000000000 +0100
@@ -1,6 +1,27 @@
CHANGES
=======

+3.7.1
+-----
+
+* Change python3.5 job to python3.7 job on Stein+
+* Update hacking version
+* Change openstack-dev to openstack-discuss
+* Title underline too long
+* Don't quote {posargs} in tox.ini
+* Fix nits in timeout change
+
+3.7.0
+-----
+
+* Add DEFAULT\_TIMEOUT and TIMEOUT\_SCALING\_FACTOR
+* Use templates for cover and lower-constraints
+* Fix requirements check ci in oslotest
+* add python 3.6 unit test job
+* import zuul job settings from project-config
+* Update reno for stable/rocky
+* Add release note link in README
+
3.6.0
-----

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/HACKING.rst
new/oslotest-3.7.1/HACKING.rst
--- old/oslotest-3.6.0/HACKING.rst 2018-06-27 10:26:25.000000000 +0200
+++ new/oslotest-3.7.1/HACKING.rst 2019-02-28 19:02:33.000000000 +0100
@@ -1,4 +1,4 @@
- Style Commandments
-===============================================
+Style Commandments
+==================

-Read the OpenStack Style Commandments
https://docs.openstack.org/hacking/latest/
\ No newline at end of file
+Read the OpenStack Style Commandments
https://docs.openstack.org/hacking/latest/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/PKG-INFO new/oslotest-3.7.1/PKG-INFO
--- old/oslotest-3.6.0/PKG-INFO 2018-06-27 10:29:33.000000000 +0200
+++ new/oslotest-3.7.1/PKG-INFO 2019-02-28 19:05:29.000000000 +0100
@@ -1,10 +1,10 @@
Metadata-Version: 1.1
Name: oslotest
-Version: 3.6.0
+Version: 3.7.1
Summary: Oslo test framework
Home-page: https://docs.openstack.org/oslotest/latest/
Author: OpenStack
-Author-email: openstack-dev@xxxxxxxxxxxxxxxxxxx
+Author-email: openstack-discuss@xxxxxxxxxxxxxxxxxxx
License: UNKNOWN
Description: ========================
Team and repository tags
@@ -26,6 +26,7 @@
* Documentation: https://docs.openstack.org/oslotest/latest/
* Source: https://git.openstack.org/cgit/openstack/oslotest
* Bugs: https://bugs.launchpad.net/oslotest
+ * Release notes: https://docs.openstack.org/releasenotes/oslotest


Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/README.rst
new/oslotest-3.7.1/README.rst
--- old/oslotest-3.6.0/README.rst 2018-06-27 10:26:25.000000000 +0200
+++ new/oslotest-3.7.1/README.rst 2019-02-28 19:02:33.000000000 +0100
@@ -18,3 +18,4 @@
* Documentation: https://docs.openstack.org/oslotest/latest/
* Source: https://git.openstack.org/cgit/openstack/oslotest
* Bugs: https://bugs.launchpad.net/oslotest
+* Release notes: https://docs.openstack.org/releasenotes/oslotest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/RELEASENOTES.rst
new/oslotest-3.7.1/RELEASENOTES.rst
--- old/oslotest-3.6.0/RELEASENOTES.rst 2018-06-27 10:29:33.000000000 +0200
+++ new/oslotest-3.7.1/RELEASENOTES.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +0,0 @@
-========
-oslotest
-========
-
-.. _oslotest_3.4.0:
-
-3.4.0
-=====
-
-.. _oslotest_3.4.0_New Features:
-
-New Features
-------------
-
-.. releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml @
b'039b03aa7575efc7e62f59b1410e85b3a7d7b4d3'
-
-- Change the API for the CaptureOutput fixture so that tests may
- enable it explicitly instead of purely relying on the environment
- variables to control it.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest/base.py
new/oslotest-3.7.1/oslotest/base.py
--- old/oslotest-3.6.0/oslotest/base.py 2018-06-27 10:26:25.000000000 +0200
+++ new/oslotest-3.7.1/oslotest/base.py 2019-02-28 19:02:33.000000000 +0100
@@ -40,6 +40,15 @@
individual test cases can run. This lets tests fail for taking too
long, and prevents deadlocks from completely hanging test runs.

+ The class variable ``DEFAULT_TIMEOUT`` can be set to configure
+ a test suite default test value for cases in which ``OS_TEST_TIMEOUT``
+ is not set. It defaults to ``0``, which means no timeout.
+
+ The class variable ``TIMEOUT_SCALING_FACTOR`` can be set on an
+ individual test class for tests that reasonably take longer than
+ the rest of the test suite so that the overall timeout can be
+ kept small. It defaults to ``1``.
+
If the environment variable ``OS_STDOUT_CAPTURE`` is set, a fake
stream replaces ``sys.stdout`` so the test can look at the output
it produces.
@@ -75,6 +84,8 @@
.. _fixtures: https://pypi.org/project/fixtures

"""
+ DEFAULT_TIMEOUT = 0
+ TIMEOUT_SCALING_FACTOR = 1

def __init__(self, *args, **kwds):
super(BaseTestCase, self).__init__(*args, **kwds)
@@ -112,7 +123,10 @@
self.useFixture(fixtures.TempHomeDir())

def _set_timeout(self):
- self.useFixture(timeout.Timeout())
+ self.useFixture(timeout.Timeout(
+ default_timeout=self.DEFAULT_TIMEOUT,
+ scaling_factor=self.TIMEOUT_SCALING_FACTOR,
+ ))

def _fake_output(self):
self.output_fixture = self.useFixture(output.CaptureOutput())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest/tests/unit/test_timeout.py
new/oslotest-3.7.1/oslotest/tests/unit/test_timeout.py
--- old/oslotest-3.6.0/oslotest/tests/unit/test_timeout.py 2018-06-27
10:26:26.000000000 +0200
+++ new/oslotest-3.7.1/oslotest/tests/unit/test_timeout.py 2019-02-28
19:02:33.000000000 +0100
@@ -43,3 +43,51 @@
env_get_mock.assert_called_once_with('OS_TEST_TIMEOUT', 0)
self.assertEqual(0, fixture_timeout_mock.call_count)
self.assertEqual(0, fixture_mock.call_count)
+
+ @mock.patch('os.environ.get')
+ @mock.patch.object(timeout.Timeout, 'useFixture')
+ @mock.patch('fixtures.Timeout')
+ def test_timeout_default(
+ self, fixture_timeout_mock, fixture_mock, env_get_mock):
+ env_get_mock.return_value = 5
+ tc = timeout.Timeout(default_timeout=5)
+ tc.setUp()
+ env_get_mock.assert_called_once_with('OS_TEST_TIMEOUT', 5)
+ fixture_timeout_mock.assert_called_once_with(5, gentle=True)
+ self.assertEqual(1, fixture_mock.call_count)
+
+ @mock.patch('os.environ.get')
+ @mock.patch.object(timeout.Timeout, 'useFixture')
+ @mock.patch('fixtures.Timeout')
+ def test_timeout_bad_default(
+ self, fixture_timeout_mock, fixture_mock, env_get_mock):
+ env_get_mock.return_value = 'invalid'
+ tc = timeout.Timeout(default_timeout='invalid')
+ tc.setUp()
+ env_get_mock.assert_called_once_with('OS_TEST_TIMEOUT', 0)
+ self.assertEqual(0, fixture_timeout_mock.call_count)
+ self.assertEqual(0, fixture_mock.call_count)
+
+ @mock.patch('os.environ.get')
+ @mock.patch.object(timeout.Timeout, 'useFixture')
+ @mock.patch('fixtures.Timeout')
+ def test_timeout_scaling(
+ self, fixture_timeout_mock, fixture_mock, env_get_mock):
+ env_get_mock.return_value = 2
+ tc = timeout.Timeout(scaling_factor=1.5)
+ tc.setUp()
+ env_get_mock.assert_called_once_with('OS_TEST_TIMEOUT', 0)
+ fixture_timeout_mock.assert_called_once_with(3, gentle=True)
+ self.assertEqual(1, fixture_mock.call_count)
+
+ @mock.patch('os.environ.get')
+ @mock.patch.object(timeout.Timeout, 'useFixture')
+ @mock.patch('fixtures.Timeout')
+ def test_timeout_bad_scaling(
+ self, fixture_timeout_mock, fixture_mock, env_get_mock):
+ env_get_mock.return_value = 2
+ tc = timeout.Timeout(scaling_factor='invalid')
+ tc.setUp()
+ env_get_mock.assert_called_once_with('OS_TEST_TIMEOUT', 0)
+ fixture_timeout_mock.assert_called_once_with(2, gentle=True)
+ self.assertEqual(1, fixture_mock.call_count)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest/timeout.py
new/oslotest-3.7.1/oslotest/timeout.py
--- old/oslotest-3.6.0/oslotest/timeout.py 2018-06-27 10:26:26.000000000
+0200
+++ new/oslotest-3.7.1/oslotest/timeout.py 2019-02-28 19:02:33.000000000
+0100
@@ -22,13 +22,27 @@

"""

+ def __init__(self, default_timeout=0, scaling_factor=1):
+ super(Timeout, self).__init__()
+ try:
+ self._default_timeout = int(default_timeout)
+ except ValueError:
+ # If timeout value is invalid do not set a timeout.
+ self._default_timeout = 0
+ self._scaling_factor = scaling_factor
+
def setUp(self):
super(Timeout, self).setUp()
- test_timeout = os.environ.get('OS_TEST_TIMEOUT', 0)
+ test_timeout = os.environ.get('OS_TEST_TIMEOUT', self._default_timeout)
try:
test_timeout = int(test_timeout)
except ValueError:
- # If timeout value is invalid do not set a timeout.
- test_timeout = 0
- if test_timeout > 0:
- self.useFixture(fixtures.Timeout(test_timeout, gentle=True))
+ # If timeout value is invalid use the default timeout.
+ test_timeout = self._default_timeout
+ try:
+ scaled_timeout = int(test_timeout * self._scaling_factor)
+ except ValueError:
+ # If scaling factor is invalid, use the basic test timeout.
+ scaled_timeout = test_timeout
+ if scaled_timeout > 0:
+ self.useFixture(fixtures.Timeout(scaled_timeout, gentle=True))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest.egg-info/PKG-INFO
new/oslotest-3.7.1/oslotest.egg-info/PKG-INFO
--- old/oslotest-3.6.0/oslotest.egg-info/PKG-INFO 2018-06-27
10:29:32.000000000 +0200
+++ new/oslotest-3.7.1/oslotest.egg-info/PKG-INFO 2019-02-28
19:05:29.000000000 +0100
@@ -1,10 +1,10 @@
Metadata-Version: 1.1
Name: oslotest
-Version: 3.6.0
+Version: 3.7.1
Summary: Oslo test framework
Home-page: https://docs.openstack.org/oslotest/latest/
Author: OpenStack
-Author-email: openstack-dev@xxxxxxxxxxxxxxxxxxx
+Author-email: openstack-discuss@xxxxxxxxxxxxxxxxxxx
License: UNKNOWN
Description: ========================
Team and repository tags
@@ -26,6 +26,7 @@
* Documentation: https://docs.openstack.org/oslotest/latest/
* Source: https://git.openstack.org/cgit/openstack/oslotest
* Bugs: https://bugs.launchpad.net/oslotest
+ * Release notes: https://docs.openstack.org/releasenotes/oslotest


Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest.egg-info/SOURCES.txt
new/oslotest-3.7.1/oslotest.egg-info/SOURCES.txt
--- old/oslotest-3.6.0/oslotest.egg-info/SOURCES.txt 2018-06-27
10:29:33.000000000 +0200
+++ new/oslotest-3.7.1/oslotest.egg-info/SOURCES.txt 2019-02-28
19:05:29.000000000 +0100
@@ -62,11 +62,13 @@
releasenotes/notes/deprecate-functional-module-fbed600d2fa026fc.yaml
releasenotes/notes/mock-autospec-fix-9042c30dbb74032f.yaml
releasenotes/notes/remove_mockpatch-80fec29f28da5d5c.yaml
+releasenotes/notes/timeout-scaling-52741beadde528e5.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/ocata.rst
releasenotes/source/pike.rst
releasenotes/source/queens.rst
+releasenotes/source/rocky.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest.egg-info/pbr.json
new/oslotest-3.7.1/oslotest.egg-info/pbr.json
--- old/oslotest-3.6.0/oslotest.egg-info/pbr.json 2018-06-27
10:29:32.000000000 +0200
+++ new/oslotest-3.7.1/oslotest.egg-info/pbr.json 2019-02-28
19:05:29.000000000 +0100
@@ -1 +1 @@
-{"git_version": "897823f", "is_release": true}
\ No newline at end of file
+{"git_version": "dac45a6", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/oslotest.egg-info/requires.txt
new/oslotest-3.7.1/oslotest.egg-info/requires.txt
--- old/oslotest-3.6.0/oslotest.egg-info/requires.txt 2018-06-27
10:29:32.000000000 +0200
+++ new/oslotest-3.7.1/oslotest.egg-info/requires.txt 2019-02-28
19:05:29.000000000 +0100
@@ -6,4 +6,4 @@
mock>=2.0.0
mox3>=0.20.0
os-client-config>=1.28.0
-debtcollector
+debtcollector>=1.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/releasenotes/notes/reno.cache
new/oslotest-3.7.1/releasenotes/notes/reno.cache
--- old/oslotest-3.6.0/releasenotes/notes/reno.cache 2018-06-27
10:29:33.000000000 +0200
+++ new/oslotest-3.7.1/releasenotes/notes/reno.cache 1970-01-01
01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
----
-file-contents:
- releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml:
- features: ['Change the API for the CaptureOutput fixture so that tests may
-
- enable it explicitly instead of purely relying on the environment
-
- variables to control it.
-
- ']
-notes:
-- files:
- - - releasenotes/notes/controlling-output-capture-e47c66bbca4a694a.yaml
- - !!binary |
- MDM5YjAzYWE3NTc1ZWZjN2U2MmY1OWIxNDEwZTg1YjNhN2Q3YjRkMw==
- version: 3.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslotest-3.6.0/releasenotes/notes/timeout-scaling-52741beadde528e5.yaml
new/oslotest-3.7.1/releasenotes/notes/timeout-scaling-52741beadde528e5.yaml
--- old/oslotest-3.6.0/releasenotes/notes/timeout-scaling-52741beadde528e5.yaml
1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-3.7.1/releasenotes/notes/timeout-scaling-52741beadde528e5.yaml
2019-02-28 19:02:33.000000000 +0100
@@ -0,0 +1,10 @@
+---
+features:
+ - |
+ New class variable, ``TIMEOUT_SCALING_FACTOR`` was added that allows
+ modifying a test class to have a longer timeout than other tests in the
+ suite without having to raise the default timeout for all tests.
+ - |
+ New class variable, ``DEFAULT_TIMEOUT`` was added that lets test suite
+ authors override the default value of ``OS_TEST_TIMEOUT`` at the
+ test suite level.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/releasenotes/source/index.rst
new/oslotest-3.7.1/releasenotes/source/index.rst
--- old/oslotest-3.6.0/releasenotes/source/index.rst 2018-06-27
10:26:26.000000000 +0200
+++ new/oslotest-3.7.1/releasenotes/source/index.rst 2019-02-28
19:02:33.000000000 +0100
@@ -6,6 +6,7 @@
:maxdepth: 1

unreleased
+ rocky
queens
pike
ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/releasenotes/source/rocky.rst
new/oslotest-3.7.1/releasenotes/source/rocky.rst
--- old/oslotest-3.6.0/releasenotes/source/rocky.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslotest-3.7.1/releasenotes/source/rocky.rst 2019-02-28
19:02:33.000000000 +0100
@@ -0,0 +1,6 @@
+===================================
+ Rocky Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: stable/rocky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/requirements.txt
new/oslotest-3.7.1/requirements.txt
--- old/oslotest-3.6.0/requirements.txt 2018-06-27 10:26:26.000000000 +0200
+++ new/oslotest-3.7.1/requirements.txt 2019-02-28 19:02:33.000000000 +0100
@@ -10,4 +10,4 @@
mock>=2.0.0 # BSD
mox3>=0.20.0 # Apache-2.0
os-client-config>=1.28.0 # Apache-2.0
-debtcollector # Apache-2.0
+debtcollector>=1.2.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/setup.cfg new/oslotest-3.7.1/setup.cfg
--- old/oslotest-3.6.0/setup.cfg 2018-06-27 10:29:33.000000000 +0200
+++ new/oslotest-3.7.1/setup.cfg 2019-02-28 19:05:29.000000000 +0100
@@ -4,7 +4,7 @@
description-file =
README.rst
author = OpenStack
-author-email = openstack-dev@xxxxxxxxxxxxxxxxxxx
+author-email = openstack-discuss@xxxxxxxxxxxxxxxxxxx
home-page = https://docs.openstack.org/oslotest/latest/
classifier =
Environment :: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/test-requirements.txt
new/oslotest-3.7.1/test-requirements.txt
--- old/oslotest-3.6.0/test-requirements.txt 2018-06-27 10:26:26.000000000
+0200
+++ new/oslotest-3.7.1/test-requirements.txt 2019-02-28 19:02:33.000000000
+0100
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.

-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+hacking>=1.1.0,<1.2.0 # Apache-2.0

# when we can require tox>= 1.4, this can go into tox.ini:
# [testenv:cover]
@@ -13,5 +13,5 @@
sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0
-stestr==2.0.0
+stestr>=2.0.0
reno>=2.5.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslotest-3.6.0/tox.ini new/oslotest-3.7.1/tox.ini
--- old/oslotest-3.6.0/tox.ini 2018-06-27 10:26:26.000000000 +0200
+++ new/oslotest-3.7.1/tox.ini 2019-02-28 19:02:33.000000000 +0100
@@ -21,9 +21,9 @@
[testenv:cover]
basepython = python3
setenv =
- PYTHON=coverage run --source $project --parallel-mode
+ PYTHON=coverage run --source oslotest --parallel-mode
commands =
- stestr run '{posargs}'
+ stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml


< Previous Next >
This Thread
  • No further messages