[python-django-openstack-auth] fix tests
Matthias Runge
mrunge at fedoraproject.org
Wed Apr 24 07:29:06 UTC 2013
commit 5e5e69b4972939e585d041c7a457cf2142996901
Author: Matthias Runge <mrunge at redhat.com>
Date: Wed Apr 24 09:28:44 2013 +0200
fix tests
python-django-openstack-auth.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/python-django-openstack-auth.spec b/python-django-openstack-auth.spec
index 830c9c2..9381cbe 100644
--- a/python-django-openstack-auth.spec
+++ b/python-django-openstack-auth.spec
@@ -51,6 +51,10 @@ rm -rf %{pypi_name}.egg-info
# remove unnecessary .po files
find . -name "django.po" -exec rm -f '{}' \;
+# patch sent upstream:
+# https://github.com/gabrielhurley/django_openstack_auth/pull/34
+echo "SECRET_KEY='badcafe'" >> openstack_auth/tests/settings.py
+
%build
%{__python} setup.py build
More information about the scm-commits
mailing list