[python-repoze-who] Set the PYTHONPATH when running the tests

Luke Macken lmacken at fedoraproject.org
Fri Apr 5 20:39:47 UTC 2013


commit 009d0517334f00a7a6c7c0e8ce4204e4c242bf63
Author: Luke Macken <lmacken at redhat.com>
Date:   Fri Apr 5 16:39:44 2013 -0400

    Set the PYTHONPATH when running the tests

 python-repoze-who.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-repoze-who.spec b/python-repoze-who.spec
index 5b15868..dd0f369 100644
--- a/python-repoze-who.spec
+++ b/python-repoze-who.spec
@@ -95,9 +95,9 @@ popd
 %endif
 
 %check
-%{__python} setup.py test
+PYTHONPATH=$(pwd) %{__python} setup.py test
 %if 0%{?with_python3}
-%{__python3} setup.py test
+PYTHONPATH=$(pwd) %{__python3} setup.py test
 %endif
 
 %clean


More information about the scm-commits mailing list