[Erp5-report] r34198 rafael - /erp5/trunk/buildout/tests/assertSoftware.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 29 19:51:54 CEST 2010


Author: rafael
Date: Mon Mar 29 19:51:53 2010
New Revision: 34198

URL: http://svn.erp5.org?rev=34198&view=rev
Log:
Improve test.

Modified:
    erp5/trunk/buildout/tests/assertSoftware.py

Modified: erp5/trunk/buildout/tests/assertSoftware.py
URL: http://svn.erp5.org/erp5/trunk/buildout/tests/assertSoftware.py?rev=34198&r1=34197&r2=34198&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Mon Mar 29 19:51:53 2010
@@ -48,9 +48,9 @@
     """
       TODO: Add doc string.
     """
-    stdout, stderr = subprocess.Popen([sys.executable, '-V'],
+    stdout, stderr = subprocess.Popen(["bin/python2.4", "-V"],
         stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
-    self.assertTrue('2.4' in stderr)
+    self.assertTrue('Python 2.4' in stderr)
 
   def test_required_libraries(self):
     """




More information about the Erp5-report mailing list