forked from pool/python-perky
- Makes tests more verbose.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-perky?expand=0&rev=2
This commit is contained in:
@@ -31,7 +31,8 @@ BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
An "rcfile" text file format for Python programs solving the same problem as "INI" files, "TOML" files, and "JSON" files.
|
||||
An "rcfile" text file format for Python programs solving the same
|
||||
problem as "INI" files, "TOML" files, and "JSON" files.
|
||||
|
||||
%prep
|
||||
%setup -q -n perky-%{version}
|
||||
@@ -46,7 +47,7 @@ sed -i '1{/\/usr\/bin\/env python*/d;}' perky/utility.py perky/__init__.py
|
||||
|
||||
%check
|
||||
# tests need to be executed directly, otherwise (pytest, unittest discover) they fail
|
||||
%python_exec tests/test_perky.py
|
||||
%python_exec tests/test_perky.py -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user