15
0

- Fix tests forcing terminal colors before running tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-DataProperty?expand=0&rev=18
This commit is contained in:
2023-01-26 07:54:59 +00:00
committed by Git OBS Bridge
parent 8f763d60cc
commit 80709fc084
2 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-DataProperty
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-DataProperty
Version: 0.55.0
@@ -56,6 +55,8 @@ Python library for extract property from data.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Required by termcolor to have colors in the tests
export FORCE_COLOR=1
%pytest
%files %{python_files}