summaryrefslogtreecommitdiffstats
path: root/hyperkitty.spec
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-19 12:55:12 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-19 12:56:02 +0100
commit2147fa8cc8b2015b852f3dc4fca953034e7a5d8b (patch)
tree341526c564cde20b6bddfa994cc3dafb7cabb906 /hyperkitty.spec
parent9501fd6ee6f8aa00a9614c00b49834d51c7c3481 (diff)
downloadhyperkitty-2147fa8cc8b2015b852f3dc4fca953034e7a5d8b.tar.gz
hyperkitty-2147fa8cc8b2015b852f3dc4fca953034e7a5d8b.tar.xz
hyperkitty-2147fa8cc8b2015b852f3dc4fca953034e7a5d8b.zip
Fix running the unit tests in the spec file
Diffstat (limited to 'hyperkitty.spec')
-rw-r--r--hyperkitty.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/hyperkitty.spec b/hyperkitty.spec
index a7b68e5..2a2d144 100644
--- a/hyperkitty.spec
+++ b/hyperkitty.spec
@@ -99,8 +99,9 @@ touch --reference hyperkitty_standalone/settings.py \
%check
touch hyperkitty_standalone/__init__.py
+cp hyperkitty/tests_conf/settings_tests.py hyperkitty_standalone/settings_local.py
%{__python} hyperkitty_standalone/manage.py test --pythonpath=`pwd` hyperkitty
-rm -f hyperkitty_standalone/__init__.py
+rm -f hyperkitty_standalone/__init__.py hyperkitty_standalone/settings_local.py
%post