horizon/horizon/test
Akihiro Motoki 493a943e6e horizon: Move test files to match corresponding module structure
blueprint relocation-test-codes

The current test file structure in horizon looks random.
This is the first patch of blueprint relocation-test-codes.

This commit proposes to change the structure to match the structure
of test targets (i.e., main codes).
More concretely, a unit test file for {TOP_MODULE}/{MODULE}/{FILENAME}.py
will be located at {TOP_MODULE}/test/units/{MODULE}/test_{FILENAME}.py.
When a module is test as a whole, a location of a corresponding test file
will be {TOP_MODULE}/test/units/{MODULE}/test_{MODULE}.py.
This clarifies locations of test files.

In addition, this commit changes the base class of utils.test_secret_key
from horizon.test.helper.TestCase to unittest.TestCase. This is because
calling secret_key.generate_key() somehow interferes django.test.TestCase
(which is a parent class of horizon.test.helper.TestCase).

Change-Id: I48b9c317645e63a5819c52512b30f25969574817
2017-12-09 21:37:12 +09:00
..
customization Fixed typos in comment for renaming dashboard 2015-09-08 18:05:02 +05:30
dummy_auth Fix horizon/test selenium tests for Django 1.8 2015-09-30 16:41:30 +10:00
jasmine Applying auto-file-discovery partially 2015-06-29 16:04:14 -06:00
messages Add message of the day option 2016-01-22 11:31:36 -08:00
selenium horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
templates Horizon Spinner/Loader should inherit from theme 2017-04-21 11:15:52 -07:00
test_dashboards hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
unit horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
firefox_binary.py Fix docstring warnings 2016-09-24 20:44:48 +09:00
helpers.py Fixes to allow us to use Django 1.11 2017-07-20 01:08:56 +12:00
settings.py Make nosehtmloutput an optional test requirement 2017-08-21 15:25:44 +02:00
urls.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
utils.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
webdriver.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00