[python-isodate/f20] Run python-isodate unit tests

Dan Scott dscott at fedoraproject.org
Wed Apr 30 15:59:05 UTC 2014


commit 0e7e313ac63cb2036f7c3cce218ce73b58d2e976
Author: Dan Scott <dan at coffeecode.net>
Date:   Sat Apr 19 11:26:35 2014 -0400

    Run python-isodate unit tests
    
    We have them; might as well run them.
    
    Signed-off-by: Dan Scott <dan at coffeecode.net>

 python-isodate.spec |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
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 <dan at coffeecode.net> - 0.5.0-1
 - Update to 0.5.0
 - Add a Python3 build
+- Run unit tests
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.7-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list