Commit a8ee8ef8 authored by Jérome Perrin's avatar Jérome Perrin

import pysvn later


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35414 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 692d37b5
......@@ -9,7 +9,6 @@ from time import sleep
import urllib2
from subprocess import Popen, PIPE
from sendMail import sendMail
import pysvn
import atexit
__doc__ = """%(program)s: Zelenium functional test runner for the ERP5 Project
......@@ -287,6 +286,7 @@ user_pref("capability.principal.codebase.p1.subjectName", "");""" % \
def getSvnRevision(self):
# get SVN revision used
import pysvn
os.chdir('%s/Products/ERP5' % self.instance_home)
revision = pysvn.Client().info('.').revision.number
return revision
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment