14
0

Accepting request 626390 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/626390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testflo?expand=0&rev=2
This commit is contained in:
2018-07-31 14:01:18 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 15 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 29 12:29:40 UTC 2018 - jengelh@inai.de
- Trim history lesson from description. Rewrite description so
it is from the perspective of openSUSE, not upstream.
-------------------------------------------------------------------
Thu May 24 17:50:44 UTC 2018 - toddrme2178@gmail.com

View File

@@ -13,15 +13,17 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-testflo
Version: 1.2
Release: 0
Summary: A flow-based testing framework
License: Apache-2.0
Summary: A simple flow based testing framework
Url: https://github.com/OpenMDAO/testflo
Group: Development/Languages/Python
Url: https://github.com/OpenMDAO/testflo
Source: https://files.pythonhosted.org/packages/source/t/testflo/testflo-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/OpenMDAO/testflo/%{version}/LICENSE.txt
# PATCH-FIX-OPENSUSE use_setuptools.patch -- some of the optional features we want need setuptools
@@ -43,20 +45,11 @@ Requires(preun): update-alternatives
%python_subpackages
%description
A simple flow based testing framework. testflo was written to support
This module provides a flow-based testing framework. testflo supports
testing of the OpenMDAO framework. Some OpenMDAO features require
execution under MPI while some others dont, so we wanted a testing
framework that could run all of our tests in the same way and would
allow us to build all of our tests using unittest.TestCase objects
that we were already familiar with.
The MPI testing functionality was originally implemented using the
nose testing framework. It worked, but was always buggy, and the size
and complexity of the nose framework made it difficult to know
exactly what was going on. Enter testflo, an attempt to build a
simpler testing framework that would have the basic functionality of
other test frameworks, with the additional ability to run MPI unit
tests that are very similar to regular unit tests
execution under MPI, while others don't. testflo runs all of the
authors' tests in the same way and allows them to build their tests
using unittest.TestCase objects that they are familiar with.
%prep
%setup -q -n testflo-%{version}