From cba5b07c0b980572369bd3ba6ccd43d8d069a2cc Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Sat, 19 Apr 2014 11:26:35 -0400 Subject: [PATCH] Run python-isodate unit tests We have them; might as well run them. Signed-off-by: Dan Scott --- python-isodate.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/python-isodate.spec b/python-isodate.spec index 238d2df..206c75e 100644 --- a/python-isodate.spec +++ b/python-isodate.spec @@ -109,6 +109,15 @@ popd %clean rm -rf %{buildroot} +%check +%{__python} setup.py test + +%if 0%{?with_python3} +pushd %{py3dir} +%{__python} setup.py test +popd +%endif + %files %defattr(-,root,root,-) @@ -127,6 +136,7 @@ rm -rf %{buildroot} * Fri Apr 18 2014 Dan Scott - 0.5.0-1 - Update to 0.5.0 - Add a Python3 build +- Run unit tests * Sun Aug 04 2013 Fedora Release Engineering - 0.4.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild