horizon/horizon
Akihiro Motoki 0c96dcf293 Handle case without pytest for plugin tests
Switching the test runner to pytest in horizon assumes pytest is always
installed, but horizon test helpers are used in horizon plugin tests and
pytest is not used in horizon plugin tests. As a result, all horizon plugin
tests are now broken.

This commit considers a case where pytest does not exist.
A wrapper decorator for pytest.mark.xxxx is introduced and
it acts as a null decorator if pytest is not installed.

Change-Id: I80736b108f5ae9a36c0e756bf386468879be3293
Closes-Bug: #1873532
2020-04-18 08:44:45 +09:00
..
browsers Define default settings explicitly (horizon) 2019-09-12 15:05:56 +09:00
conf Define default settings explicitly (horizon) 2019-09-12 15:05:56 +09:00
contrib Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
forms Remove python_2_unicode_compatible usage 2020-03-09 14:54:07 +02:00
hacking flake8: Ensure local check in hacking 2.0.0 2020-01-27 02:43:48 +09:00
locale Imported Translations from Zanata 2020-01-09 07:04:20 +00:00
management pylint: fix trailing-comma-tuple warning 2019-01-16 13:06:55 +09:00
middleware Remove six usage from horizon package 2020-01-15 12:36:11 +02:00
static Merge "Trigger size's oninput event manually after choosing source" 2020-02-19 14:15:13 +00:00
tables Cleanup python 2.7 handling logic 2020-02-21 09:02:37 +09:00
tabs Remove six.reraise usage 2020-01-17 07:31:26 +09:00
templates Automatically redirect to the password change when it's expired 2019-09-16 12:45:23 +02:00
templatetags Remove six usage from horizon package 2020-01-15 12:36:11 +02:00
test Handle case without pytest for plugin tests 2020-04-18 08:44:45 +09:00
utils Remove six usage from horizon package 2020-01-15 12:36:11 +02:00
workflows Remove six usage from horizon package 2020-01-15 12:36:11 +02:00
__init__.py Revert "Enable to refresh ngdetails view" 2017-08-02 18:31:22 +00:00
base.py Fix docs build 2020-04-13 15:52:42 +02:00
context_processors.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
decorators.py django2: is_authenticated/is_anonymous is now property only 2018-02-17 01:36:54 +09:00
defaults.py Fix pep8 failures with hacking 2.0.0 2019-12-17 04:55:05 +00:00
exceptions.py Remove six.reraise usage 2020-01-17 07:31:26 +09:00
karma.conf.js Move to '404' page when resource type or resource not found 2018-08-28 14:15:02 +09:00
loaders.py pylint: fix several coding convention violations 2019-01-17 00:05:27 +09:00
messages.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
notifications.py pylint: fix simplifiable-if-statement/expression 2019-01-16 13:08:08 +09:00
site_urls.py Decorate Javascript i18n with a last_modified header 2019-01-06 17:20:45 +01:00
themes.py Define default settings explicitly (horizon) 2019-09-12 15:05:56 +09:00
version.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
views.py Handle partial dict setting 2019-09-26 14:31:17 +09:00