14
0
forked from pool/python-nose2

- update to 0.9.1

- refresh remove_unittest2.patch
 * the prof plugin now uses cProfile instead of hotshot for profiling
 * skipped tests now include the user's reason in junit XML's message field
 * the prettyassert plugin mishandled multi-line function definitions
 * Using a plugin's CLI flag when the plugin is already enabled via config
   no longer errors
 * nose2.plugins.prettyassert, enabled with --pretty-assert
 * Cleanup code for EOLed python versions
 * Dropped support for distutils.
 * Result reporter respects failure status set by other plugins
 * JUnit XML plugin now includes the skip reason in its output

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=8
This commit is contained in:
2019-04-08 11:22:28 +00:00
committed by Git OBS Bridge
parent 5c896720ad
commit a9c3b7d61e
5 changed files with 35 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3
size 142142

3
nose2-0.9.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ede156fd7974fa40893edeca0b709f402c0ccacd7b81b22e76f73c116d1b999
size 153897

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Apr 8 11:19:14 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 0.9.1
- refresh remove_unittest2.patch
* the prof plugin now uses cProfile instead of hotshot for profiling
* skipped tests now include the user's reason in junit XML's message field
* the prettyassert plugin mishandled multi-line function definitions
* Using a plugin's CLI flag when the plugin is already enabled via config
no longer errors
* nose2.plugins.prettyassert, enabled with --pretty-assert
* Cleanup code for EOLed python versions
* Dropped support for distutils.
* Result reporter respects failure status set by other plugins
* JUnit XML plugin now includes the skip reason in its output
-------------------------------------------------------------------
Thu Aug 16 10:22:15 UTC 2018 - jengelh@inai.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-nose2
#
# 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,13 +12,13 @@
# 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_module:%define python_module() python-%{**} python3-%{**}}
Name: python-nose2
Version: 0.8.0
Version: 0.9.1
Release: 0
Summary: Second generation of the "nose" Python testing framework
License: BSD-2-Clause AND Python-2.0

View File

@@ -1,11 +1,13 @@
--- a/setup.py
+++ b/setup.py
@@ -93,7 +93,7 @@ else:
],
}
params['install_requires'] = parse_requirements('requirements.txt')
- params['test_suite'] = 'unittest.collector'
+ params['test_suite'] = 'nose2.tests'
params['extras_require']['doc'] = parse_requirements('requirements-docs.txt')
params['extras_require'].update(add_per_version_requirements())
Index: nose2-0.9.0/setup.py
===================================================================
--- nose2-0.9.0.orig/setup.py
+++ nose2-0.9.0/setup.py
@@ -44,7 +44,7 @@ setup(
"nose2-%s.%s = nose2:discover" % (py_version.major, py_version.minor),
]
},
- test_suite="unittest.collector",
+ test_suite="nose2.tests",
# descriptive package info below
description="unittest2 with plugins, the succesor to nose",
long_description=LONG_DESCRIPTION,