Update file init_test.py
This commit is contained in:
@@ -56,7 +56,7 @@ class IrLogging(models.Model):
|
|||||||
# _logger.error(os.system('./%s/testserver.sh' %(ap)))
|
# _logger.error(os.system('./%s/testserver.sh' %(ap)))
|
||||||
|
|
||||||
|
|
||||||
p = subprocess.Popen('sh ../testserver.sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE)
|
p = subprocess.Popen('sh /odoo/custom/open2bizz/testserver/testserver.sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE)
|
||||||
results, errors = p.communicate()
|
results, errors = p.communicate()
|
||||||
print( results)
|
print( results)
|
||||||
re.search('<(\d+)>', results).group(1)
|
re.search('<(\d+)>', results).group(1)
|
||||||
Reference in New Issue
Block a user