horizon/openstack_dashboard/test/unit/utils
Akihiro Motoki 56ae087995 Refactor futurist calls
After futurist calls were introduced, the code became difficult to
understand. For example, local variables are used something like global.
To keep the code easier to understand, the usage of local variables
should be more scoped.

This commit introduces a wrapper function for futurist.ThreadPoolExecutor
and converts inline functions into normal methods.
I believe it improves the code readability a lot.

Change-Id: Id5b7a06c50e397c8c27447322d7f64f2d65c06b6
2018-03-14 21:15:52 +02:00
..
__init__.py openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
test_config_types.py openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
test_filters.py openstack_dashboard: Move test files to match module structure 2017-12-09 21:38:06 +09:00
test_futurist_utils.py Refactor futurist calls 2018-03-14 21:15:52 +02:00