]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/dashboard: specify workdir using tox.ini 21416/head
authorKefu Chai <kchai@redhat.com>
Fri, 13 Apr 2018 13:00:42 +0000 (21:00 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Apr 2018 13:08:51 +0000 (21:08 +0800)
commita165464930d2814daa9a04ade99d13648ee427ed
tree0763372af431a5177c007224542a92152491767d
parentabce646a6d34b063a32265d85d0e6cd7613fbd62
test/dashboard: specify workdir using tox.ini

--workdir was introduced in tox v2.4.0, but the tox shipped by
ubuntu/xenial is 2.3.1. also because i removed the step to prepare the
tox using "pip install -r requirements.txt", what we have is the tox
v2.3.1 . so, instead of passing workdir in the command line, we specify
this setting in tox.ini.

also drop the tox in requirements.txt, it's just misleading. and we are
not using the tox installed in the venv.

Fixes: http://tracker.ceph.com/issues/23709
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/requirements.txt
src/pybind/mgr/dashboard/run-tox.sh
src/pybind/mgr/dashboard/tox.ini