Author: gotcha
Date: Sat Feb 17 17:09:29 2007
New Revision: 39124
Modified:
kukit/kss.buildout/trunk/dotests.py
kukit/kss.buildout/trunk/tests
Log:
fix environment for test script
Modified: kukit/kss.buildout/trunk/dotests.py
==============================================================================
--- kukit/kss.buildout/trunk/dotests.py (original)
+++ kukit/kss.buildout/trunk/dotests.py Sat Feb 17 17:09:29 2007
@@ -30,9 +30,8 @@
#start tests
python = sys.executable
zope_test = os.path.join(here, 'tests')
-environ = {}
-environ['SELENIUMBROWSER'] = seleniumbrowser
-test_command_pieces = [zope_test]
+test_command_pieces = ['SELENIUMBROWSER="%s"'% seleniumbrowser]
+test_command_pieces.append(zope_test)
test_command_pieces.append('--package-path')
test_command_pieces.append(os.path.join(here, 'src', 'kss.demo', 'kss',
'demo', 'tests'))
test_command_pieces.append('kss.demo.tests --test-file-pattern=^seltest
--tests-pattern=selenium_tests')
Modified: kukit/kss.buildout/trunk/tests
==============================================================================
--- kukit/kss.buildout/trunk/tests (original)
+++ kukit/kss.buildout/trunk/tests Sat Feb 17 17:09:29 2007
@@ -1,7 +1,7 @@
#! /bin/sh
-SELENIUMBROWSER="*firefox /usr/lib/firefox/firefox-bin"
+#SELENIUMBROWSER="*firefox /usr/lib/firefox/firefox-bin"
HERE=`pwd`
-PYTHON="/usr/local/bin/python2.4"
+PYTHON="/usr/bin/python2.4"
ZOPE_HOME="$HERE/parts/zope2"
INSTANCE_HOME="$HEREUsers/parts/instance"
CONFIG_FILE="$HERE/parts/instance/etc/zope.conf"
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins