- Use pyunittest macro instead of the home-grown solution.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=18
This commit is contained in:
Matej Cepl 2021-10-22 10:09:47 +00:00 committed by Git OBS Bridge
parent 0f1369b1e7
commit 35a9daa942
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 22 10:09:21 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Use pyunittest macro instead of the home-grown solution.
-------------------------------------------------------------------
Fri Oct 22 08:02:27 UTC 2021 - Martin Liška <mliska@suse.cz>

View File

@ -76,7 +76,7 @@ supports both textual and MIME-type output.
%check
export LC_ALL=en_US.UTF-8
%python_expand PYTHONPATH=. $python test/test.py
%pyunittest -v test.test
%files %{python_files}
%license LICENSE