horizon/horizon
Rob Cresswell 36d1d1ac68 Refactor tox & update docs
- Updated tox envlist, so just running `tox` from the CLI will now run all
voting gate tests

- Reduce duplicated definitions and commands

- Remove any reliance on run_tests within tox

- Removes all doc references to run_tests.sh, and replaces them
with their tox equivalent. Where necessary, language around the tox
commands has been altered or extended so that it makes sense and is
consistent with other parts of the docs. Also adds a new "Test Environment"
list to the docs, so that newcomers do not have to piece together CLI
commands and their cryptic extensions from tox.ini

- Move the inline shell scripting to its own file. Also fixes a bug when
passing args, since the logic assumed you were attempting a subset test
run (try `tox -e py27 -- --pdb` on master to compare)

- Moved translation tooling from run_tests to manage.py, w/ help text
and arg restrictions. This is much more flexible so that plugins can use
it without having to copy commands, but still defaults to exactly the
same parameters/behaviour from run_tests. Docs updated appropriately.

- Removed npm/karma strange reliance on either .venv or tox/py27. Now
it only uses tox/npm.

Change-Id: I883f885bd424955d39ddcfde5ba396a88cfc041e
Implements: blueprint enhance-tox
Closes-Bug: 1638672
2016-11-30 20:38:59 +00:00
..
browsers Fix Flake8 style warnings in horizon/ 2014-07-29 20:38:49 +00:00
conf Move out integration tests scaffolds from Horizon production code 2016-05-31 10:01:21 +00:00
contrib Panel static finder 2016-06-01 02:14:17 +00:00
forms Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-08 18:19:34 +08:00
hacking Eliminate mutable default arguments 2015-12-17 09:58:46 +00:00
locale Imported Translations from Zanata 2016-11-25 07:33:01 +00:00
management [Django 1.9] Stop using django.utils.importlib 2016-01-26 11:19:23 +00:00
middleware Merge "py3:Remove six.iterXXX" 2016-11-16 12:31:57 +00:00
static Remove use of scope from action service 2016-11-24 18:42:49 +11:00
tables Fix mox trapped errors 2016-11-25 16:58:47 +11:00
tabs Modify exception message style according to i18n guidelines 2016-06-13 15:36:47 +08:00
templates Improve Horizon nav sidebar 2016-11-23 16:17:13 +00:00
templatetags Fix docstring warnings 2016-09-24 20:44:48 +09:00
test Fix docstring warnings 2016-09-24 20:44:48 +09:00
utils Fix docstring warnings 2016-09-24 20:44:48 +09:00
workflows Merge "py3:Remove six.iterXXX" 2016-11-16 12:31:57 +00:00
__init__.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
base.py Fix compatibility issues with Django 1.10 2016-09-20 12:29:16 +01:00
context_processors.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
decorators.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
exceptions.py Fix docstring warnings 2016-09-24 20:44:48 +09:00
karma.conf.js Refactor tox & update docs 2016-11-30 20:38:59 +00:00
loaders.py Remove all pre-Django 1.8 workarounds 2016-01-24 22:12:02 +00:00
messages.py Uniquify horizon messages returned in a single response 2014-09-17 13:45:07 +00:00
notifications.py Add message of the day option 2016-01-22 11:31:36 -08:00
site_urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
themes.py Fix missing 'THEME' key 2016-08-03 20:06:36 +00:00
version.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
views.py Document and improve PageTitleMixin readability 2015-02-11 16:16:20 +00:00