[FIX] package.py: tarball test: don't hardcode pip path

This commit is contained in:
Simon Lejeune 2015-07-15 09:08:38 +02:00
parent 936e321ae0
commit ee690395e0
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ def test_tgz(o):
with docker('odoo-%s-src-nightly-tests' % version, o.build_dir, o.pub) as wheezy:
wheezy.release = '*.tar.gz'
wheezy.system("service postgresql start")
wheezy.system('/usr/local/bin/pip install /opt/release/%s' % wheezy.release)
wheezy.system('pip install /opt/release/%s' % wheezy.release)
wheezy.system("useradd --system --no-create-home odoo")
wheezy.system('su postgres -s /bin/bash -c "createuser -s odoo"')
wheezy.system('su postgres -s /bin/bash -c "createdb mycompany"')