forked from pool/python-DataProperty
- 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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user