summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pykolab.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/pykolab.spec.in b/pykolab.spec.in
index 68d1f2b..5ff1d7d 100644
--- a/pykolab.spec.in
+++ b/pykolab.spec.in
@@ -261,7 +261,12 @@ if [ $1 = 0 ]; then
fi
%check
+# RHEL's python unittest does not have assertIsInstance()
+%if 0%{?rhel} > 1
+nosetests -v tests/ ||:
+%else
nosetests -v tests/
+%endif
%clean
rm -rf %{buildroot}