]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: added command to tox.ini
authoralfonsomthd <almartin@redhat.com>
Tue, 22 Jan 2019 12:26:38 +0000 (13:26 +0100)
committeralfonsomthd <almartin@redhat.com>
Tue, 22 Jan 2019 12:26:38 +0000 (13:26 +0100)
commit3596f6c254f2a29df91d301879d57e6511213f75
tree3c864dfae6cb830a5ea41fed94b65258a748ce99
parent116d53d929574c97e1725f1492a4cfa2f11b85db
mgr/dashboard: added command to tox.ini

* Added 'run' command to run arbitrary commands so
  you don't have to run the whole test/lint suite.
  Use case examples:
  - Run only 1 test:
  tox -e py3-run pytest tests/test_rgw_client.py::RgwClientTest::test_ssl_verify
  - Run pycodestyle for only 1 file:
  tox -e py3-run pycodestyle tests/test_rgw_client.py

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
src/pybind/mgr/dashboard/HACKING.rst
src/pybind/mgr/dashboard/run-tox.sh
src/pybind/mgr/dashboard/tox.ini